Skip to content

Commit

Permalink
Merge pull request #2272 from OffchainLabs/finalize-arbos-30
Browse files Browse the repository at this point in the history
Finalize ArbOS 30
  • Loading branch information
PlasmaPower authored Jun 5, 2024
2 parents a0bb1d3 + 807b262 commit e6f81cb
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 @@ -74,7 +74,7 @@ func OpenArbosState(stateDB vm.StateDB, burner burn.Burner) (*ArbosState, error)
}
return &ArbosState{
arbosVersion,
20,
30,
30,
backingStorage.OpenStorageBackedUint64(uint64(upgradeVersionOffset)),
backingStorage.OpenStorageBackedUint64(uint64(upgradeTimestampOffset)),
Expand Down Expand Up @@ -316,14 +316,6 @@ func (state *ArbosState) UpgradeArbosVersion(
// these versions are left to Orbit chains for custom upgrades.

case 30:
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,
)
}
programs.Initialize(state.backingStorage.OpenSubStorage(programsSubspace))

default:
Expand Down

0 comments on commit e6f81cb

Please sign in to comment.