-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/throttle-complete-attemp3
- Loading branch information
Showing
19 changed files
with
10,940 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## Updating the trace format and tests when adjusting the framework | ||
|
||
Some things in the test framework should stay consistent, in particular with respect to the trace format. | ||
When adding or modifying actions, please follow these guidelines: | ||
* Add a case for your action to `main.go` | ||
* Add a case for your action to `json_utils.go/UnmarshalMapToActionType` | ||
* Add a generator for your action to `action_rapid_test.go` and add the generator to `GetActionGen` | ||
|
||
If the chain state from `state.go` is modified, the `ChainStateWithProposalTypes` in `json_utils.go/MarshalJSON` should be updated. | ||
|
||
When adding a new proposal type: | ||
* add a case for your proposal type to `json_utils.go/UnmarshalProposalWithType` | ||
* add a generator for your proposal type in `state_rapid_test.go` and add it to the `GetProposalGen` function |
Oops, something went wrong.