Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
invocamanman committed Mar 25, 2024
1 parent 752f778 commit 1e6318c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
7 changes: 3 additions & 4 deletions contracts/v2/PolygonRollupManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ contract PolygonRollupManager is
uint64 public _legacyTotalVerifiedBatches;

// Last timestamp when an aggregation happen

uint64 public lastAggregationTimestamp;

// Trusted aggregator timeout, if a sequence is not verified in this time frame,
Expand Down Expand Up @@ -315,10 +314,10 @@ contract PolygonRollupManager is
mapping(uint32 rollupID => RollupDataV2) public rollupIDToRollupData;

// Total sequenced zkGasLimit across all rollups
uint64 public totalZkGasLimit;
uint128 public totalZkGasLimit;

// Total verified zkGasLimit across all rollups
uint64 public totalVerifiedZkGasLimit;
uint128 public totalVerifiedZkGasLimit;

/**
* @dev Emitted when a new rollup type is added
Expand Down Expand Up @@ -857,7 +856,7 @@ contract PolygonRollupManager is
RollupData storage rollup = rollupIDToRollupData[rollupID];

// Update total sequence parameters
totalZkGasLimit += uint256(zkGasLimit);
totalZkGasLimit += uint128(zkGasLimit);

// Update sequenced batches of the current rollup
uint64 currentSequenceNum = rollup.lastSequenceNum;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import "../../lib/PolygonConstantsBase.sol";
* The aggregators will be able to verify the sequenced state with zkProofs and therefore make available the withdrawals from L2 network.
* To enter and exit of the L2 network will be used a PolygonZkEVMBridge smart contract that will be deployed in both networks.
*/
abstract contract PolygonRollupBaseFrijoa is
abstract contract PolygonRollupBaseFeijoa is
Initializable,
PolygonConstantsBase,
IPolygonZkEVMVEtrogErrors,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.24;

import "../PolygonRollupBaseFrijoa.sol";
import "../PolygonRollupBaseFeijoa.sol";

/**
* Contract responsible for managing the states and the updates of L2 network.
Expand All @@ -11,7 +11,7 @@ import "../PolygonRollupBaseFrijoa.sol";
* The aggregators will be able to verify the sequenced state with zkProofs and therefore make available the withdrawals from L2 network.
* To enter and exit of the L2 network will be used a PolygonZkEVMBridge smart contract that will be deployed in both networks.
*/
contract PolygonZkEVMFrijoa is PolygonRollupBaseFrijoa {
contract PolygonZkEVMFeijoa is PolygonRollupBaseFeijoa {
/**
* @param _globalExitRootManager Global exit root manager address
* @param _pol POL token address
Expand All @@ -24,7 +24,7 @@ contract PolygonZkEVMFrijoa is PolygonRollupBaseFrijoa {
IPolygonZkEVMBridgeV2 _bridgeAddress,
PolygonRollupManager _rollupManager
)
PolygonRollupBaseFrijoa(
PolygonRollupBasefeijoa(
_globalExitRootManager,
_pol,
_bridgeAddress,
Expand Down
2 changes: 1 addition & 1 deletion contracts/v2/lib/PolygonRollupBaseFrijoa.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import "./PolygonConstantsBase.sol";
* The aggregators will be able to verify the sequenced state with zkProofs and therefore make available the withdrawals from L2 network.
* To enter and exit of the L2 network will be used a PolygonZkEVMBridge smart contract that will be deployed in both networks.
*/
abstract contract PolygonRollupBaseFrijoa is
abstract contract PolygonRollupBaseFeijoa is
Initializable,
PolygonConstantsBase,
IPolygonZkEVMVEtrogErrors,
Expand Down

0 comments on commit 1e6318c

Please sign in to comment.