Skip to content

Releases: forbole/callisto

v2.0.2

11 Mar 06:48
Compare
Choose a tag to compare

Notes

Version v2.0.2 fully replaces v2.0.0 due to a wrong tagging being done (see #357). Please **do not use v2.0.0 anymore and use v2.0.2 instead.

Cosmos compatibility

This tag is thought to be used with chains that are running Cosmos v0.44.0 or later. If you want to integrate with a chain running Cosmos Stargate, please use v2.0.2-stargate instead.

Hasura actions

Starting with v2.0.0, certain address-specific data are no longer periodically parsed from the node and stored in the database.
Instead, those data are obtained directly from the node when necessary thanks to the Hasura Actions service.

Here's the list of data which are acquired through Hasura Actions:

  • Of a certain address/delegator:
    • Account balance
    • Delegation rewards
    • Delegator withdraw address
    • Delegations
    • Total delegations amount
    • Unbonding delegations
    • Total unbonding delegations amount
    • Redelegations
  • Of a certain validator:
    • Commission amount
    • Delegations to this validator
    • Redelegations from this validator
    • Unbonding delegations

To activate Hasura actoins, simply run:

$ bdjuno hasura-actions

It is also recommended to run Hasura Actions as a system service:

$ sudo tee /etc/systemd/system/hasura-actions.service > /dev/null <<EOF
[Unit]
Description=BDJuno Hasura Actions
After=network-online.target
[Service]
User=$USER
ExecStart=$GOPATH/bin/bdjuno hasura-actions
Restart=always
RestartSec=3
LimitNOFILE=4096
[Install]
WantedBy=multi-user.target
EOF

Migrate

If you are running BDJuno v1, you can run the following command to migrate to v2:

bdjuno migrate