This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
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.
Upgradable contracts using
set_code
function #10690Upgradable contracts using
set_code
function #10690Changes from 10 commits
b1dd3d7
3d525a2
4eb26af
0120c35
0a8b745
49250c5
a4c479c
e36d5e5
a5a3ec8
01987ea
a6f3f44
516d29a
759dcc1
d6a1445
f8f708c
12c91d8
15e3901
08f67ea
3bc8008
c6f1645
9d190a5
3e2a1a4
ae5b1a4
168dc95
5e79310
e96341e
6f925a9
7a64c0c
b8e5314
33e7075
b5d25a0
b32e4ec
769a3f1
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Unused variable.
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.
Easy to miss things here. Do you have any special tricks or setup for working with this macro?
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.
Nope. Just reading the code. I think the benchmarking macro will become a attribute macro eventually.
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.
Please add a verify block that checks whether the contracts were really switched to the new code hash.