specs: add Upgrade Process to complete upgrade spec#881
Closed
specs: add Upgrade Process to complete upgrade spec#881
Conversation
f1dedf9 to
6ed5bb2
Compare
d539d8e to
3789533
Compare
60db7c8 to
5463b9d
Compare
Adds foundational specification for L2 predeploy contract upgrades: - Overview: Describes deterministic hard fork-driven upgrade mechanism - ConditionalDeployer: Idempotent CREATE2 deployment with collision handling Includes 4 invariants, 2 assumptions, and interface definition. Part 1 of 6-part specification.
Adds L2ProxyAdmin component for batch upgrade orchestration: - Defines upgradePredeploys() function for DELEGATECALL-based batch upgrades - Exclusive Depositor Account authorization - Backwards compatibility with existing ProxyAdmin interface Includes 4 invariants, 3 assumptions, and interface definition. Part 2 of 6-part specification.
Adds L2ContractsManager component for upgrade execution logic: - Configuration gathering and preservation - Deterministic upgrade execution via DELEGATECALL - Feature flag support - Atomic upgrade operations Includes 6 invariants, 4 assumptions, and interface definition. Part 3 of 6-part specification.
Adds NUT Bundle component defining upgrade transaction format: - JSON bundle format and structure - Deterministic bundle generation process - Bundle verification against source code - Transaction ordering and nonce sequencing Includes 6 invariants, 4 assumptions, and bundle format specification. Part 4 of 6-part specification.
Adds gas allocation mechanism for upgrade transactions: - 50M gas allocation for upgrade blocks - Independent of system transaction gas limits - Deterministic allocation at fork activation - Prevents out-of-gas failures during upgrades Includes 5 invariants, 3 assumptions, and allocation specification. Part 5 of 6-part specification.
5463b9d to
5c710e3
Compare
Adds end-to-end upgrade lifecycle specification: - 7-phase upgrade workflow (Development → Verification) - Transaction execution sequence at fork activation - Atomic upgrade execution - Cross-chain consistency requirements - Fork activation and verification procedures Includes 5 invariants, 3 assumptions, and complete lifecycle definition. Part 6 of 6-part specification - completes L2 contract upgrades spec.
3789533 to
be313f0
Compare
Contributor
Author
|
replaced by #884 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds end-to-end upgrade lifecycle specification:
Includes 5 invariants, 3 assumptions, and complete lifecycle definition.
Part 6 of 6-part specification - completes L2 contract upgrades spec.
Stack: