-
Notifications
You must be signed in to change notification settings - Fork 28
feat: support contract upgrades in batches #3361
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
Open
DSharifi
wants to merge
33
commits into
main
Choose a base branch
from
dsharifi/upgrade-in-batches
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,431
−316
Open
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
109f6ab
.
DSharifi db9e211
fix: update abi
DSharifi 2a09d73
Merge remote-tracking branch 'origin/main' into dsharifi/upgrade-in-b…
DSharifi 905548f
part of merge
DSharifi 3e8b452
fix ci
DSharifi c9d42e7
merge from main
DSharifi be0c04e
.
DSharifi b9bc3fa
test: top up the account during chunked upload
DSharifi 2f20744
cargot fmt
DSharifi 9527cb6
remove old upload way
DSharifi 9d71892
remove comments
DSharifi a3172db
keep proposal agnostic of chunks
DSharifi ff5c144
refactor: uploading chunked should just be a transport
DSharifi bf78fad
fix blocking comments
DSharifi c5dd7bf
Merge remote-tracking branch 'origin/main' into dsharifi/upgrade-in-b…
DSharifi bd3f16d
bump hard limit, still within 1,5 MiB
DSharifi 6e550bd
remove claude comments
DSharifi c429ba6
update insta
DSharifi f860197
chore: remove logs
DSharifi 9af8912
chore!: rename `propose_update` to `propose_config_update`
DSharifi baa80a6
fix: store data lengths and chunk sizes as usize to avoid conversions
DSharifi e4036a2
remove comment mentioning contract version for legacy upgrade path
DSharifi 500eb46
chore: remove contract check limit
DSharifi 51b5bc5
fix tests to use atomicusize
DSharifi 9b23ea9
use rand for uncompressable bytes
DSharifi affcdf4
simplify comment, nothing compressed embedded data
DSharifi c831035
use NonZeroUsize in sandbox tests as well
DSharifi 2336972
use legacy struct in common and fix usize
DSharifi d6fd524
Merge remote-tracking branch 'origin/main' into dsharifi/upgrade-in-b…
DSharifi 7814180
fix: update the abi
DSharifi 3dfa88e
refactor: needles as conversion
DSharifi 05ed6a4
test(fix): code field comes before config
DSharifi f91211b
test: use legacy types in e2e tests and also move type to interface
DSharifi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
how are we ensuring that this does not consume more gas than we are paying for it?