cosmos-sdk/contrib/rosetta
Matt Kocubinski 184235e1a8
refactor: create go.mod for simapp (#13130)
* Add go.mod for simapp

* creating dep check script

* new version of cosmos-sdk

* tests/ must be a module also if it is to test simapp

* maybe add a github action which should fail

* mv tests/mocks -> testutil/mock

* Refactor usages of tests/mocks

* update build command

* fix rosetta tests

* go mod tidy

* use cosmossdk.io/simapp

* Update sim entrypoints

* use simapp as a module

* go mod tidy

* Add replaced for vuln package

* fix vuln dep

* this CI run should fail

* this CI run should succeed

* use absolute path in makefile
2022-09-07 18:14:22 +00:00
..
configuration fix: make rosetta-data now works again (#13103) 2022-08-30 20:46:10 +00:00
rosetta-ci refactor: create go.mod for simapp (#13130) 2022-09-07 18:14:22 +00:00
rosetta-cli Revert "update-ci-only" (#12882) 2022-08-10 09:04:24 +02:00
README.md docs: Improve markdownlint configuration (#11104) 2022-02-10 12:07:01 +00:00
docker-compose.yaml chore: downgrade to tendermint `v0.34.x` (#12958) 2022-08-20 02:33:07 +02: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

Rosetta-ci

Contains the files for a deterministic network, with fixed keys and some actions on there, to test parsing of msgs and historical balances. This image is used to run a simapp node and to run the rosetta server.

Rosetta-cli

The docker image for ./rosetta-cli/Dockerfile is on docker hub. Whenever rosetta-cli releases a new version, rosetta-cli/Dockerfile should be updated to reflect the new version and pushed to docker hub.

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