cosmos-sdk/contrib/rosetta
Amaury c1b567f44c
Refactor store keys for variable-length addresses (#8363)
* Change account store key in x/bank

* Fix pagination test

* Fix merge master

* Fix staking keys.go

* Use bech32 in val state change map

* Fix sortNoLongerBonded

* Use length-prefix function

* Use length prefix function

* Fix test accountStore

* Fix ExamplePaginate

* Fix staking keys

* Use shorter balances prefix

* Do slashing keys

* Fix gov keys

* Fix x/gov tests

* Fix x/distrib

* Address reviews

* add change log entry

* Add changelog

* Fix failing tests

* Fix sim tests

* fix after-export sim

* Fix lint

* Address review

* Fix x/authz

* Fix global config in test

* Update x/staking/keeper/val_state_change.go

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Address comments

* Fix comments

* Address review

* Fix authz test

* Update comment

* Rename to LengthPrefixedAddressStoreKey

* Use variable

* Rename function

* Fix test build

* chore: update rosetta CI (#8453)

* Rename again

* Rename yet again

* Update feegrant keys

* Add function to create prefix

Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Frojdi Dymylja <33157909+fdymylja@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-02-01 13:17:44 +00:00
..
configuration Refactor store keys for variable-length addresses (#8363) 2021-02-01 13:17:44 +00:00
node Refactor store keys for variable-length addresses (#8363) 2021-02-01 13:17:44 +00:00
rosetta-cli Rosetta API implementation (#7695) 2021-01-21 09:33:02 +00:00
README.md Rosetta API implementation (#7695) 2021-01-21 09:33:02 +00:00
docker-compose.yaml Rosetta API implementation (#7695) 2021-01-21 09:33:02 +00:00

README.md

rosetta

This directory contains the files required to run the rosetta CI. It builds simapp based on the current codebase.

docker-compose.yaml

Builds:

  • cosmos-sdk simapp node, with prefixed data directory, keys etc. This is required to test historical balances.
  • faucet is required so we can test construction API, it was literally impossible to put there a deterministic address to request funds for
  • rosetta is the rosetta node used by rosetta-cli to interact with the cosmos-sdk app
  • test_rosetta runs the rosetta-cli test against construction API and data API

configuration

Contains the required files to set up rosetta cli and make it work against its workflows

node

Contains the files for a deterministic network, with fixed keys and some actions on there, to test parsing of msgs and historical balances.

Notes

  • Keyring password is 12345678
  • data.sh creates node data, it's required in case consensus breaking changes are made to quickly recreate replicable node data for rosetta