Skip to content

A suite of configuration files that allow us to validate the Rosetta implementation using rosetta-cli.

Notifications You must be signed in to change notification settings

multiversx/mx-chain-rosetta-checks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rosetta-checks

A suite of configuration files that allow us to validate the Rosetta implementation using rosetta-cli.

Notes on check:data

  • check:data with historical balances lookup is supported, and it's the recommended method of validation.
  • check:data without historical balances (with bootstrap balances instead) is supported, but is not recommended as a means of validation (hard to debug in case of reconciliation failures). Thus, configuration files for this approach are not present in the repository.

Notes on check:construction

  • In the configuration of check:construction, make sure to set a large enough "stale_depth", since the implementation only returns final blocks (notarized by the Metachain and built upon), by default. There is a delay between the broadcast of the transaction and the moment at which the container block is marked as final. For example, use "stale_depth": 10.
  • In the construction DSL, generate_account() cannot be used, since it cannot be constrained to create accounts in the observed shard, at the moment. As a workaround, the accounts involved in a transfer (sender, recipient) should be explicitly specified in the *.ros file.

About

A suite of configuration files that allow us to validate the Rosetta implementation using rosetta-cli.

Resources

Stars

Watchers

Forks

Packages

No packages published