Skip to content

Commit

Permalink
PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
krlosMata committed Oct 7, 2024
1 parent 289b8ad commit f57c655
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tools/addRollupType/addRollupType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,9 @@ async function main() {
if (!isPessimistic) {
// checks for rollups
// Sanity checks genesisRoot
if (consensusContract)
if (genesisRoot !== genesis.root) {
throw new Error(
`Genesis root in the 'add_rollup_type.json' does not match the root in the 'genesis.json'`
);
}
if (genesisRoot !== genesis.root) {
throw new Error(`Genesis root in the 'add_rollup_type.json' does not match the root in the 'genesis.json'`);
}

// get bridge address in genesis file
let genesisBridgeAddress = ethers.ZeroAddress;
Expand Down

0 comments on commit f57c655

Please sign in to comment.