Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Add json marshal/unmarshal for test traces (#1314)
* Add json marshal/unmarshal for test traces * Remove auto-generated trace files * Add an example trace to see the input format * Add comment in rapid test * Remove duplicated test case * Remove TODO in favor of comment * Reduce code duplication * Run go mod tidy and make format * Correct testdata directory in gitignore * Remove testdata directory * Remove testdata from gitignore * Add tracehandler_testdata * Remove example trace, since there are examples in the test data * Revert unintentional change to .gitignore * Remove propType field from generator * Add docstrings to action_rapid test and state_rapid_test to better explain what the files are doing * bite -> byte * Refactor: slashThrottleDequeue to slashThrottleDequeueAction * action name -> action type * use method name as first word in docstring * Simply remove simply * Clarify that WriteTrace overrides * Remove outdated comments * Add RegisteredConsumerRewardDenoms to rapid test * Add gen for submitChangeRewardDenomsProposalAction * Remove startChain steps * Marshal step files with indent * Add README that contains info about updates to trace format * Pull out the copied ChainState and Proposal types from methods * Use shadowing to avoid relisting chainstate fields * Make format * Remove log
- Loading branch information