Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add update payload to chain traces (#649)
- Lower the coverage threshold for "at least 10% of the update proposals do not change the maximum transaction-size" - Increase the trace length to 300 in the `onlyValidSignalsAreGenerated @CHAIN` propoerty - Fix the update generator. It allowed to produce a maximum transaction size that was bigger than the current maximum block size. - Guard the `newMaxBkSize - 1` against underflows - Lower 10% the bounds for the "at least 10% of the proposals get enough endorsements" coverage check. - Generate `CHAIN` delegation payload only in 30% of the cases. - Tweak the coverage metrics to account for the fact that we do not want to decrease certain protocol parameter values to prevent the signal production (blocks, transactions, etc) from stopping. - Set a memory limit for the tests in `cs-blockchain` - Fix the abstract size test where the number of characters in the system tags were not being counted. - Fix arithmetic underflow when checking validity of proposed script version. - Factor out functions for generating update proposal and votes, and endorsements. See `updateProposalAndVotesGen` and `protocolVersionEndorsementGen`. - Ignore `stack` lock file. - Limit the line width to 80. 100 characters is not suitable for working with two vertical panes on a laptop, with a font size that is legible for people with less than optimal vision (like @dnadales :) ).
- Loading branch information
Showing
13 changed files
with
380 additions
and
222 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,7 @@ | |
*~ | ||
dist-newstyle/ | ||
cabal.project.local | ||
stack.yaml.lock | ||
|
||
# Editors | ||
TAGS | ||
|
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
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
Oops, something went wrong.