Skip to content

Commit

Permalink
Merge pull request #277 from 0xPolygonHermez/feature/banana
Browse files Browse the repository at this point in the history
Feature/banana
  • Loading branch information
invocamanman committed Jul 16, 2024
2 parents 6cbe0dd + 5336413 commit c3aa262
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contracts/v2/PolygonZkEVMGlobalExitRootV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ contract PolygonZkEVMGlobalExitRootV2 is
// Rollup manager contract address
address public immutable rollupManager;

mapping(uint32 depositCount => bytes32 l1InfoRoot) public l1InfoRootMap;
// Store every l1InfoLeaf
mapping(uint32 leafIndex => bytes32 l1InfoRoot) public l1InfoRootMap;

/**
* @dev Emitted when the global exit root is updated
Expand All @@ -36,7 +37,7 @@ contract PolygonZkEVMGlobalExitRootV2 is
/**
* @dev Emitted when the global exit root manager starts adding leafs to the L1InfoRootMap
*/
event InitL1InfoRootMap(uint32 depositCount, bytes32 currentL1InfoRoot);
event InitL1InfoRootMap(uint32 leafIndex, bytes32 currentL1InfoRoot);

/**
* @param _rollupManager Rollup manager contract address
Expand Down

0 comments on commit c3aa262

Please sign in to comment.