cosmos-sdk/contrib/rosetta
Amaury dfe3e7a8d7
Remove ServiceMsgs from ADR-031 (#9139)
* wip

* wip

* wip

* wip on refactoring adr 031 type URLs

* Fix msg_service_router

* Fix gov client queries

* Fix some modules tests

* Remove all instances of "*.Msg/*"

* Uncomment code

* Remove commented code

* // simulation.NewWeightedOperation(

* Fix CopyTx

* Fix more tests

* Fix x/gov test

* proto.MessageName->sdk.MsgName

* Fix authz tests

* Use MsgRoute in feegrant and staking/authz

* Fix more tests

* Fix sims?

* Add norace tag

* Add CL

* rebuild rosetta api test data

* Update ADR

* Rename MsgRoute -> MsgTypeURL

* Fix codec registration

* Remove sdk.GetLegacySignBytes

* Update types/tx_msg.go

* Update x/authz/simulation/operations.go

* Move LegacyMsg to legacytx

* Update CHANGELOG.md

Co-authored-by: Aaron Craelius <aaron@regen.network>

* Remove NewAnyWithCustomTypeURL

* Keep support for ServiceMsgs

* Fix TxBody UnpackInterfaces

* Fix test

* Address review

* Remove support for ServiceMsg typeURLs

* Fix lint

* Update changelog

* Fix tests

* Use sdk.MsgTypeURL everywhere

* Fix tests

* Fix rosetta, run make rosetta-data

* Fix rosetta thanks to froydi

* Address reviews

* Fix test

* Remove stray log

* Update CL

Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
2021-04-30 11:00:47 +00:00
..
configuration Remove ServiceMsgs from ADR-031 (#9139) 2021-04-30 11:00:47 +00:00
node Remove ServiceMsgs from ADR-031 (#9139) 2021-04-30 11:00:47 +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