From 284a561d3767e635d5d65eec3a99239e28feca92 Mon Sep 17 00:00:00 2001 From: Lee Bousfield Date: Sun, 28 Jan 2024 12:03:00 -0700 Subject: [PATCH] Finalize ArbOS 20 --- arbos/arbosState/arbosstate.go | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/arbos/arbosState/arbosstate.go b/arbos/arbosState/arbosstate.go index 7fdb61aba2..9e3b90532e 100644 --- a/arbos/arbosState/arbosstate.go +++ b/arbos/arbosState/arbosstate.go @@ -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(