Skip to content

Commit

Permalink
mini thingds
Browse files Browse the repository at this point in the history
  • Loading branch information
invocamanman committed Aug 5, 2024
1 parent 8942b02 commit 996b75e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions contracts/v2/PolygonRollupManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ contract PolygonRollupManager is
address consensusImplementation;
address verifier;
uint64 forkID;
/// @custom:oz-renamed-from rollupCompatibilityID
/// @custom:oz-retyped-from uint8
VerifierType rollupVerifierType;
bool obsolete;
Expand Down Expand Up @@ -92,6 +93,7 @@ contract PolygonRollupManager is
uint64 _legacyLastPendingStateConsolidated;
uint64 lastVerifiedBatchBeforeUpgrade;
uint64 rollupTypeID;
/// @custom:oz-renamed-from rollupCompatibilityID
/// @custom:oz-retyped-from uint8
VerifierType rollupVerifierType;
bytes32 lastPessimisticRoot;
Expand Down Expand Up @@ -242,14 +244,14 @@ contract PolygonRollupManager is
uint32 public rollupTypeCount;

// Rollup type mapping
// @custom:oz-retyped-from PolygonRollupManagerPrevious.RollupType
/// @custom:oz-retyped-from PolygonRollupManagerPrevious.RollupType
mapping(uint32 rollupTypeID => RollupType) public rollupTypeMap;

// Number of rollups added, every new rollup will be assigned sequencially a new ID
uint32 public rollupCount;

// Rollups ID mapping
/// @custom:oz-renamed-from rollupIDToRollupData
/// @custom:oz-retyped-from PolygonRollupManagerPrevious.RollupData
mapping(uint32 rollupID => RollupData) internal _rollupIDToRollupData;

// Rollups address mapping
Expand Down
1 change: 0 additions & 1 deletion test/contractsv2/PolygonRollupManagerUpgrade.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ describe("Polygon Rollup manager upgraded", () => {
],
unsafeAllow: ["constructor", "state-variable-immutable"],
unsafeAllowRenames: true,
unsafeSkipStorageCheck: true,
call: {
fn: "initialize",
args: [
Expand Down

0 comments on commit 996b75e

Please sign in to comment.