Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROSE-449: segregate coinbase spec requirements verification in check:spec #336

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

shiatcb
Copy link
Contributor

@shiatcb shiatcb commented Jul 12, 2022

ROSE-449: segregate coinbase spec requirements verification in check:spec

Fixes # .
There is no way to tell whether a requirement is Coinbase spec. Also we lack a way to switch b/w running coinbase spec validation and minimum verification (specified in rosetta-api.org).

Solution

See PR for details.

Test Evidence

  1. Flag --help explains the purpose of check:spec

Screen Shot 2022-07-12 at 12 09 06 PM

  1. By default only Coinbase spec validation will be run

Screen Shot 2022-07-12 at 12 09 26 PM

  1. Add a flag --all to run both Coinbase spec and minimum requirements

Screen Shot 2022-07-12 at 12 09 44 PM

cmd/check_spec.go Outdated Show resolved Hide resolved
cmd/check_spec.go Outdated Show resolved Hide resolved
cmd/check_spec.go Outdated Show resolved Hide resolved
@irisZhangCB irisZhangCB merged commit 0c06658 into coinbase:master Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants