Skip to content

Commit 1d08bad

Browse files
authored
Rename empty genesis assertion hash function (#386)
* Rename empty genesis assertion hash function * Add comment on genesisAssertionHash
1 parent 2a3929f commit 1d08bad

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/rollup/RollupCore.sol

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,11 @@ abstract contract RollupCore is IRollupCore, PausableUpgradeable {
576576
}
577577
}
578578

579+
/**
580+
* @notice Returns an empty genesis assertion hash
581+
* @dev In chains that were created with a non-empty genesis state, this function
582+
* will return a different value than the actual genesis assertion hash.
583+
*/
579584
function genesisAssertionHash() external pure returns (bytes32) {
580585
GlobalState memory emptyGlobalState;
581586
AssertionState memory emptyAssertionState =

0 commit comments

Comments
 (0)