Skip to content

Commit

Permalink
Merge pull request #2111 from OffchainLabs/finalize-arbos-20
Browse files Browse the repository at this point in the history
Finalize ArbOS 20
  • Loading branch information
PlasmaPower authored Feb 20, 2024
2 parents e62cc57 + 59876e0 commit 3e14543
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions arbos/arbosState/arbosstate.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,18 +318,10 @@ func (state *ArbosState) UpgradeArbosVersion(
}
// ArbOS versions 12 through 19 are left to Orbit chains for custom upgrades.
case 20:
if !chainConfig.DebugMode() {
// This upgrade isn't finalized so we only want to support it for testing
return fmt.Errorf(
"the chain is upgrading to unsupported ArbOS version %v, %w",
nextArbosVersion,
ErrFatalNodeOutOfDate,
)
}
// Update Brotli compression level for fast compression from 0 to 1
ensure(state.SetBrotliCompressionLevel(1))
default:
if nextArbosVersion >= 12 && state.arbosVersion < 20 {
if nextArbosVersion >= 12 && nextArbosVersion <= 19 {
// ArbOS versions 12 through 19 are left to Orbit chains for custom upgrades.
} else {
return fmt.Errorf(
Expand Down

0 comments on commit 3e14543

Please sign in to comment.