Skip to content

Commit

Permalink
rebase changes
Browse files Browse the repository at this point in the history
  • Loading branch information
invocamanman committed Jan 25, 2024
1 parent 278e6a8 commit 99d76cb
Show file tree
Hide file tree
Showing 42 changed files with 9,032 additions and 22,791 deletions.
4 changes: 2 additions & 2 deletions compiled-contracts/FflonkVerifier.json

Large diffs are not rendered by default.

1,102 changes: 0 additions & 1,102 deletions compiled-contracts/PolygonDataComittee.json

This file was deleted.

136 changes: 37 additions & 99 deletions compiled-contracts/PolygonRollupManager.json

Large diffs are not rendered by default.

2,023 changes: 2,023 additions & 0 deletions compiled-contracts/PolygonRollupManagerMock.json

Large diffs are not rendered by default.

1,972 changes: 1,972 additions & 0 deletions compiled-contracts/PolygonRollupManagerMockInternalTest.json

Large diffs are not rendered by default.

1,268 changes: 1,268 additions & 0 deletions compiled-contracts/PolygonValidiumEtrog.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions compiled-contracts/PolygonZkEVM.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions compiled-contracts/PolygonZkEVMBridge.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions compiled-contracts/PolygonZkEVMBridgeMock.json

Large diffs are not rendered by default.

93 changes: 91 additions & 2 deletions compiled-contracts/PolygonZkEVMBridgeV2.json

Large diffs are not rendered by default.

1,142 changes: 1,142 additions & 0 deletions compiled-contracts/PolygonZkEVMEtrog.json

Large diffs are not rendered by default.

1,219 changes: 1,219 additions & 0 deletions compiled-contracts/PolygonZkEVMExistentEtrog.json

Large diffs are not rendered by default.

129 changes: 126 additions & 3 deletions compiled-contracts/PolygonZkEVMGlobalExitRootV2.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions compiled-contracts/PolygonZkEVMMock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions compiled-contracts/PolygonZkEVMTimelock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions compiled-contracts/TokenWrapped.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions compiled-contracts/VerifierRollupHelperMock.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"type": "function"
}
],
"bytecode": "0x608060405234801561000f575f80fd5b5061014e8061001d5f395ff3fe608060405234801561000f575f80fd5b5060043610610029575f3560e01c80639121da8a1461002d575b5f80fd5b61004361003b366004610084565b600192915050565b604051901515815260200160405180910390f35b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f80610320808486031215610097575f80fd5b6103008401858111156100a8575f80fd5b8493508561031f8601126100ba575f80fd5b604051602080820182811067ffffffffffffffff821117156100de576100de610057565b6040529286019281888511156100f2575f80fd5b5b8484101561010a57833581529281019281016100f3565b50949790965094505050505056fea26469706673582212200c852f4a1d01c92e0fb5e8f4280798a001f24ebd189c2b9b048aabb0266d233764736f6c63430008140033",
"deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610029575f3560e01c80639121da8a1461002d575b5f80fd5b61004361003b366004610084565b600192915050565b604051901515815260200160405180910390f35b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f80610320808486031215610097575f80fd5b6103008401858111156100a8575f80fd5b8493508561031f8601126100ba575f80fd5b604051602080820182811067ffffffffffffffff821117156100de576100de610057565b6040529286019281888511156100f2575f80fd5b5b8484101561010a57833581529281019281016100f3565b50949790965094505050505056fea26469706673582212200c852f4a1d01c92e0fb5e8f4280798a001f24ebd189c2b9b048aabb0266d233764736f6c63430008140033",
"bytecode": "0x608060405234801561000f575f80fd5b5061014e8061001d5f395ff3fe608060405234801561000f575f80fd5b5060043610610029575f3560e01c80639121da8a1461002d575b5f80fd5b61004361003b366004610084565b600192915050565b604051901515815260200160405180910390f35b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f80610320808486031215610097575f80fd5b6103008401858111156100a8575f80fd5b8493508561031f8601126100ba575f80fd5b604051602080820182811067ffffffffffffffff821117156100de576100de610057565b6040529286019281888511156100f2575f80fd5b5b8484101561010a57833581529281019281016100f3565b50949790965094505050505056fea2646970667358221220cd116917bfb356f793a2cef2885c134856a021af9708cf6e35bd8e053205c63b64736f6c63430008140033",
"deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610029575f3560e01c80639121da8a1461002d575b5f80fd5b61004361003b366004610084565b600192915050565b604051901515815260200160405180910390f35b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f80610320808486031215610097575f80fd5b6103008401858111156100a8575f80fd5b8493508561031f8601126100ba575f80fd5b604051602080820182811067ffffffffffffffff821117156100de576100de610057565b6040529286019281888511156100f2575f80fd5b5b8484101561010a57833581529281019281016100f3565b50949790965094505050505056fea2646970667358221220cd116917bfb356f793a2cef2885c134856a021af9708cf6e35bd8e053205c63b64736f6c63430008140033",
"linkReferences": {},
"deployedLinkReferences": {}
}
27 changes: 13 additions & 14 deletions deployment/v2/verifyContracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async function main() {
},
);
} catch (error) {
//expect(error.message.toLowerCase().includes('proxyadmin')).to.be.equal(true);
// expect(error.message.toLowerCase().includes('proxyadmin')).to.be.equal(true);
}

// verify global exit root address
Expand All @@ -106,7 +106,7 @@ async function main() {
},
);
} catch (error) {
//expect(error.message.toLowerCase().includes('proxyadmin')).to.be.equal(true);
// expect(error.message.toLowerCase().includes('proxyadmin')).to.be.equal(true);
}

try {
Expand Down Expand Up @@ -154,18 +154,17 @@ async function main() {
// expect(error.message.toLowerCase().includes('proxyadmin')).to.be.equal(true);
}

// verify verifier
try {
await hre.run(
'verify:verify',
{
address: createRollupOutputParameters.verifierAddress,
},
);
} catch (error) {
expect(error.message.toLowerCase().includes('already verified')).to.be.equal(true);
}

// verify verifier
try {
await hre.run(
'verify:verify',
{
address: createRollupOutputParameters.verifierAddress,
},
);
} catch (error) {
expect(error.message.toLowerCase().includes('already verified')).to.be.equal(true);
}

// verify zkEVM address
try {
Expand Down
1 change: 0 additions & 1 deletion docs/mainnetUpgraded/PolygonZkEVMUpgraded.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Contract responsible for managing the state and the updates of the L2 network
This contract will NOT BE USED IN PRODUCTION, will be used only in testnet enviroment


## Functions
Expand Down
Loading

0 comments on commit 99d76cb

Please sign in to comment.