Skip to content

fix(L1): allow simultaneous upgrade rescheduling - #419

Merged
jackchuma merged 2 commits into
mainfrom
fix/protocol-versions-simultaneous-upgrades
Aug 24, 2026
Merged

fix(L1): allow simultaneous upgrade rescheduling#419
jackchuma merged 2 commits into
mainfrom
fix/protocol-versions-simultaneous-upgrades

Conversation

@jackchuma

@jackchuma jackchuma commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

What changed? Why?

Allow a protocol upgrade timestamp to equal its next scheduled successor so multiple protocol versions can activate simultaneously. Updates the next-timestamp validation and error NatSpec, with the corresponding semver lock refresh.

Notes to reviewers

The existing requirement that an upgrade remain after its previous scheduled predecessor is unchanged. Timestamps later than the next scheduled successor continue to revert.

How has it been tested?

  • forge test --match-path test/L1/ProtocolVersions.t.sol
  • forge fmt --check src/L1/ProtocolVersions.sol test/L1/ProtocolVersions.t.sol

Permit an earlier upgrade to move to its successor's timestamp so owner and incident-responder delays can preserve atomic activation.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cb-heimdall

cb-heimdall commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

Update the generated contract hashes after changing the timestamp ordering check.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jackchuma
jackchuma merged commit b8e2246 into main Aug 24, 2026
6 checks passed
@jackchuma
jackchuma deleted the fix/protocol-versions-simultaneous-upgrades branch August 24, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants