diff --git a/Makefile b/Makefile index 56bf4df3c6..ca299df2e6 100644 --- a/Makefile +++ b/Makefile @@ -212,7 +212,7 @@ $(arbitrator_jit): $(DEP_PREDICATE) .make/cbrotli-lib $(jit_files) $(arbitrator_cases)/rust/target/wasm32-wasi/release/%.wasm: $(arbitrator_cases)/rust/src/bin/%.rs $(arbitrator_cases)/rust/src/lib.rs cargo build --manifest-path $(arbitrator_cases)/rust/Cargo.toml --release --target wasm32-wasi --bin $(patsubst $(arbitrator_cases)/rust/target/wasm32-wasi/release/%.wasm,%, $@) -$(arbitrator_cases)/go/main: $(arbitrator_cases)/go/main.go +$(arbitrator_cases)/go/main: $(arbitrator_cases)/go/main.go .make/solgen cd $(arbitrator_cases)/go && GOOS=js GOARCH=wasm go build main.go $(arbitrator_generated_header): $(DEP_PREDICATE) arbitrator/prover/src/lib.rs arbitrator/prover/src/utils.rs diff --git a/arbos/arbosState/arbosstate.go b/arbos/arbosState/arbosstate.go index 0be5e51f8b..c87d0f224d 100644 --- a/arbos/arbosState/arbosstate.go +++ b/arbos/arbosState/arbosstate.go @@ -319,6 +319,14 @@ func (state *ArbosState) UpgradeArbosVersion( ensure(state.chainOwners.ClearList()) } case 11: + 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", + state.arbosVersion+1, + ErrFatalNodeOutOfDate, + ) + } // Update Brotli compression level for fast compression from 0 to 1 ensure(state.l1PricingState.SetBrotliCompressionLevel(1)) default: