Skip to content

Commit

Permalink
op-program: Update test to ensure interop bootstrapping does not load…
Browse files Browse the repository at this point in the history
… the L2 chain ID local key (#14300)
  • Loading branch information
ajsutton authored Feb 10, 2025
1 parent faf6767 commit 5c159c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions op-program/client/boot/boot_interop_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ func (o *mockInteropBootstrapOracle) Get(key preimage.Key) []byte {
}
b, _ := json.Marshal(o.rollupCfgs)
return b
case L2ChainIDLocalIndex.PreimageKey():
panic("unexpected oracle request for l2 chain ID preimage key")
default:
return o.mockBoostrapOracle.Get(key)
}
Expand Down

0 comments on commit 5c159c8

Please sign in to comment.