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
Scripts for verifying bytecodes #5111
Merged
Merged
Changes from 80 commits
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
b6ae41f
Move metadata stripping to new lib
m-chrzan a798bbb
Implement library linking
m-chrzan bdc401d
Implement collection of linked library addresses
m-chrzan 827fe47
Implement library DFS
m-chrzan 3568686
Handle contracts as deployed before first upgrades
m-chrzan 6673ac3
Add script for verifying bytecode
m-chrzan fadeeb5
Commit yarn.lock
m-chrzan 3dc1f5b
Fix promise handling
m-chrzan 5db2d97
Appease the linter
m-chrzan 2378b6c
Test testing baklava bytecodes in CI
m-chrzan d7739e9
Handle pre-release 1 verification with parameter
m-chrzan 1264332
Disable lint checks for CI testing
m-chrzan d5ca2bc
Fix typo
m-chrzan b0c5c4a
Execute command in correct directory
m-chrzan fb1d449
Add truffle config for rc1-forno
m-chrzan 6dd5589
Attempt to verify rc1
m-chrzan dc1abfb
Point script to rc1 contracts
m-chrzan ae8ac94
Add flag for artifacts directory
m-chrzan 4f28ed7
Finalize CI config
m-chrzan 9806368
Appease the linter
m-chrzan 8826f37
Add test contracts
m-chrzan 0810249
Verify proposed bytecode changes
m-chrzan 297ccb0
Add tests
m-chrzan 268491b
Use values from context
m-chrzan a2458f8
Take commandline arguments in script
m-chrzan 3d3c92d
Verify bytecodes in CI
m-chrzan 2e6c8da
Remove other tests for CI testing
m-chrzan 1d81b76
Fetch rc1 branch in CI
m-chrzan 572a11c
Fetch rc1 via HTTPS
m-chrzan b3939b9
Increase wait time for ganache
m-chrzan e6f3b1a
Always build contracts from fresh
m-chrzan bae1c71
Add logging
m-chrzan 31f50a4
Add test initialization data
m-chrzan c0ef4a3
Revert "Remove other tests for CI testing"
m-chrzan 8e96be0
Appease the linter
m-chrzan 4f46769
Increase wait time for ganache
m-chrzan 7b9028a
Remove rc1_forno flag
m-chrzan 2eeb20f
Organize LibraryAddresses into class
m-chrzan 123b253
Refactor LibraryAddresses into a class
m-chrzan db44368
Ignore class limit linting rule
m-chrzan cb2a732
Document interface
m-chrzan 4300300
Fix typos in CI command
m-chrzan fd646d3
Fix typo
m-chrzan 7d56970
Frontload filtering
m-chrzan 515f636
Rename initialize data to make clear it's not official
m-chrzan 79e54ee
Update comment
m-chrzan e66e792
Abstract functions identifying transaction types
m-chrzan 8298483
Update supported version
m-chrzan 1c22db6
Document regex flag usage
m-chrzan 4cd6a59
Raise gas limit in test
m-chrzan b275e38
Refactor verify-bytecode
yorhodes b32b67c
Merge branch 'master' into m-chrzan/verify-release
mergify[bot] e263326
Add bash script to verify existing network
m-chrzan 0e42bc8
Fix comment
m-chrzan e5ad600
Rename to verify-deployed
m-chrzan 1f5d83d
Add verify-release npm script
m-chrzan ea3c882
Add bash script
m-chrzan 1d956d8
Make input proposal filepath relative to protocol root
m-chrzan ae82ed0
Revert gasLimit decrease
m-chrzan d1c7a44
Fix comment
m-chrzan e8ca6f8
Add Forno support in Truffle scripts
m-chrzan a598575
Fix comments
m-chrzan b7945dc
Add comment explaining script
m-chrzan 9056cb0
Remove unnecessary flag
m-chrzan c47a560
Clarify CLI option
m-chrzan 685b6eb
Use long form options in script
m-chrzan dd2f624
Revert gas limit increase
m-chrzan 973c462
Add proposal json output to CLI governance:show command
yorhodes 9b8479d
Parse tx returns contract proxy name on proxy function
yorhodes 180d5d8
Update make-release to take a single branch
yorhodes cc3c1b3
Merge remote-tracking branch 'origin' into m-chrzan/bytecode-scripts
yorhodes 6ec5343
Simplify contract release process and verify release commands and doc…
yorhodes 0d322e8
Make jsonTransactions flag consistent across propose and show commands
yorhodes 8241a48
Clarify docs for instructions versus summarization of scripts
yorhodes c733041
Update generated docs
yorhodes 24ea9fb
Address pr comments
yorhodes f3a4db5
Document before first release and forno flags
yorhodes f09dd79
Merge remote-tracking branch 'origin' into m-chrzan/bytecode-scripts
yorhodes 225a0a8
Disable verify-bytecodes temporarily
yorhodes 477d4d7
Address pr comments
yorhodes 43b6762
Merge branch 'master' into m-chrzan/bytecode-scripts
mergify[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this point, this is incorrect, as
master
needs to compare against release 1.I believe there are only 3 options:
2.1 Deploying RC1
2.2 Creating the proposal for release 1
2.3 Get through the proposal for release 1
2.4 Continue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
went with option 3