Commit ac02d49e authored by clabby's avatar clabby

review: Add comment about bubbled up revert in `FaultDisputeGame.initialize`

parent 0e1dc22c
...@@ -439,6 +439,9 @@ contract FaultDisputeGame is IFaultDisputeGame, Clone, Semver { ...@@ -439,6 +439,9 @@ contract FaultDisputeGame is IFaultDisputeGame, Clone, Semver {
); );
// Set the L1 head hash to the block hash of the L1 block number provided. // Set the L1 head hash to the block hash of the L1 block number provided.
// This call can revert if the block hash oracle does not have information
// about the block number provided to it. This revert will bubble up to the
// DisputeGameFactory and prevent the game from being created.
l1Head = BLOCK_HASH_ORACLE.load(_getArgUint256(0x40)); l1Head = BLOCK_HASH_ORACLE.load(_getArgUint256(0x40));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment