Skip to content

Commit

Permalink
Merge pull request ethereum-optimism#8355 from ethereum-optimism/cl/c…
Browse files Browse the repository at this point in the history
…tb/genesis-block-pub

feat(ctb): Make `GENESIS_BLOCK_NUMBER` public
ajsutton authored Nov 30, 2023
2 parents 60ecc85 + 48dec18 commit a78776a
Showing 4 changed files with 38 additions and 7 deletions.
35 changes: 33 additions & 2 deletions op-bindings/bindings/outputbisectiongame.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion op-bindings/bindings/outputbisectiongame_more.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/contracts-bedrock/semver-lock.json
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@
"src/dispute/BlockOracle.sol": "0x7e724b1ee0116dfd744f556e6237af449c2f40c6426d6f1462ae2a47589283bb",
"src/dispute/DisputeGameFactory.sol": "0xfdfa141408d7f8de7e230ff4bef088e30d0e4d569ca743d60d292abdd21ff270",
"src/dispute/FaultDisputeGame.sol": "0x7ac7553a47d96a4481a6b95363458bed5f160112b647829c4defc134fa178d9a",
"src/dispute/OutputBisectionGame.sol": "0x2415f3d3601ffce7ac92710f61180457b13c63df740ad7963a3f07b67f2b919d",
"src/dispute/OutputBisectionGame.sol": "0x16714c8660bf704d255ebb3fe08eb72caf4a890c43ea74fa1109df95194af760",
"src/legacy/DeployerWhitelist.sol": "0x0a6840074734c9d167321d3299be18ef911a415e4c471fa92af7d6cfaa8336d4",
"src/legacy/L1BlockNumber.sol": "0x20d83a636c5e2067fca8c0ed505b295174e6eddb25960d8705e6b6fea8e77fa6",
"src/legacy/LegacyMessagePasser.sol": "0x80f355c9710af586f58cf6a86d1925e0073d1e504d0b3d814284af1bafe4dece",
Original file line number Diff line number Diff line change
@@ -43,12 +43,12 @@ contract OutputBisectionGame is IOutputBisectionGame, Clone, ISemver {
/// @notice An onchain VM that performs single instruction steps on a fault proof program trace.
IBigStepper public immutable VM;

/// @notice The genesis block number
uint256 public immutable GENESIS_BLOCK_NUMBER;

/// @notice The game type ID
GameType internal immutable GAME_TYPE;

/// @notice The genesis block number
uint256 internal immutable GENESIS_BLOCK_NUMBER;

/// @notice The global root claim's position is always at gindex 1.
Position internal constant ROOT_POSITION = Position.wrap(1);

0 comments on commit a78776a

Please sign in to comment.