test(rollup): add commit and finalize genesis batch (#1086)

This commit is contained in:
colin
2024-01-22 15:00:08 +08:00
committed by GitHub
parent 9bb48689ec
commit 44c5f1c8b4
9 changed files with 68 additions and 19 deletions

View File

@@ -128,6 +128,10 @@ contract MockBridgeL1 {
* Functions from ScrollChain *
******************************/
/// @notice Import layer 2 genesis block
function importGenesisBatch(bytes calldata _batchHeader, bytes32 _stateRoot) external {
}
function commitBatch(
uint8 /*version*/,
bytes calldata _parentBatchHeader,