Skip to content

Commit

Permalink
Merge pull request #304 from 0xPolygonHermez/feature/rename-to-leaf-c…
Browse files Browse the repository at this point in the history
…ount

leafCount
  • Loading branch information
invocamanman committed Jul 30, 2024
2 parents eb68ab4 + 6977cd6 commit 6e81fd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/v2/PolygonZkEVMGlobalExitRootV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ contract PolygonZkEVMGlobalExitRootV2 is
address public immutable rollupManager;

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

/**
* @dev Emitted when the global exit root is updated
Expand All @@ -38,15 +38,15 @@ contract PolygonZkEVMGlobalExitRootV2 is
*/
event UpdateL1InfoTreeV2(
bytes32 currentL1InfoRoot,
uint32 indexed leafIndex,
uint32 indexed leafCount,
uint256 blockhash,
uint64 minTimestamp
);

/**
* @dev Emitted when the global exit root manager starts adding leafs to the L1InfoRootMap
*/
event InitL1InfoRootMap(uint32 leafIndex, bytes32 currentL1InfoRoot);
event InitL1InfoRootMap(uint32 leafCount, bytes32 currentL1InfoRoot);

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

0 comments on commit 6e81fd5

Please sign in to comment.