Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
6646032d
Unverified
Commit
6646032d
authored
Nov 02, 2023
by
protolambda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
specs: improve wording of upgrade activation rules
parent
a850928f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
superchain-upgrades.md
specs/superchain-upgrades.md
+8
-8
No files found.
specs/superchain-upgrades.md
View file @
6646032d
...
@@ -199,7 +199,10 @@ and are then retrieved from the superchain target configuration.
...
@@ -199,7 +199,10 @@ and are then retrieved from the superchain target configuration.
### L2 Block-number based activation (deprecated)
### L2 Block-number based activation (deprecated)
Activation rule:
`x != null && x >= upgradeNumber`
Activation rule:
`upgradeNumber != null && block.number >= upgradeNumber`
Starting at, and including, the L2
`block`
with
`block.number >= upgradeNumber`
, the upgrade rules apply.
If the upgrade block-number
`upgradeNumber`
is not specified in the configuration, the upgrade is ignored.
This block number based method has commonly been used in L1 up until the Bellatrix/Paris upgrade, a.k.a. The Merge,
This block number based method has commonly been used in L1 up until the Bellatrix/Paris upgrade, a.k.a. The Merge,
which was upgraded through special rules.
which was upgraded through special rules.
...
@@ -207,22 +210,19 @@ which was upgraded through special rules.
...
@@ -207,22 +210,19 @@ which was upgraded through special rules.
This method is not superchain-compatible, as the activation-parameter is chain-specific
This method is not superchain-compatible, as the activation-parameter is chain-specific
(different chains may have different block-heights at the same moment in time).
(different chains may have different block-heights at the same moment in time).
Starting at, and including, the L2
`block`
with
`block.number == x`
, the upgrade rules apply.
If the upgrade block-number
`x`
is not specified in the configuration, the upgrade is ignored.
This applies to the L2 block number, not to the L1-origin block number.
This applies to the L2 block number, not to the L1-origin block number.
This means that an L2 upgrade may be inactive, and then active, without changing the L1-origin.
This means that an L2 upgrade may be inactive, and then active, without changing the L1-origin.
### L2 Block-timestamp based activation
### L2 Block-timestamp based activation
Activation rule:
`x != null && x >= upgradeTime`
Activation rule:
`upgradeTime != null && block.timestamp >= upgradeTime`
Starting at, and including, the L2
`block`
with
`block.timestamp >= upgradeTime`
, the upgrade rules apply.
If the upgrade block-timestamp
`upgradeTime`
is not specified in the configuration, the upgrade is ignored.
This is the preferred superchain upgrade activation-parameter type:
This is the preferred superchain upgrade activation-parameter type:
it is synchronous between all L2 chains and compatible with post-Merge timestamp-based chain upgrades in L1.
it is synchronous between all L2 chains and compatible with post-Merge timestamp-based chain upgrades in L1.
Starting at, and including, the L2
`block`
with
`block.timestamp == x`
, the upgrade rules apply.
If the upgrade block-timestamp
`x`
is not specified in the configuration, the upgrade is ignored.
This applies to the L2 block timestamp, not to the L1-origin block timestamp.
This applies to the L2 block timestamp, not to the L1-origin block timestamp.
This means that an L2 upgrade may be inactive, and then active, without changing the L1-origin.
This means that an L2 upgrade may be inactive, and then active, without changing the L1-origin.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment