Skip to content

Commit

Permalink
Merge pull request #329 from 0xPolygonHermez/feature/cherry-pick-main
Browse files Browse the repository at this point in the history
Feature/cherry pick main
  • Loading branch information
invocamanman committed Sep 16, 2024
2 parents 0b27044 + d78c801 commit a1ab154
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 21 deletions.
1 change: 0 additions & 1 deletion tools/addRollupType/addRollupTypeTimelock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ async function main() {
"description",
"forkID",
"consensusContract",
"polTokenAddress",
"verifierAddress",
"rollupCompatibilityID",
"timelockDelay",
Expand Down
17 changes: 0 additions & 17 deletions tools/addRollupType/add_rollup_type.json

This file was deleted.

1 change: 1 addition & 0 deletions tools/addRollupType/add_rollup_type.json.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"consensusContract": "PolygonValidiumEtrog",
"polygonconsensusContract": "",
"polygonRollupManagerAddress": "0x5132A183E9F3CB7C848b0AAC5Ae0c4f0491B7aB2",
"verifierAddress": "0x1C3A3da552b8662CD69538356b1E7c2E9CC1EBD8",
"description": "Type: Validium, Version: etrog, genesis: /ipfs/QmUXnRoPbUmZuEZCGyiHjEsoNcFVu3hLtSvhpnfBS2mAYU",
Expand Down
2 changes: 1 addition & 1 deletion tools/deployClaimCompressor/deployClaimCompressor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async function main() {
await ClaimCompressorContract.waitForDeployment();

console.log("#######################\n");
console.log("Verifier deployed to:", ClaimCompressorContract.target);
console.log("Claim Compressor deployed to:", ClaimCompressorContract.target);
console.log("#######################\n");

console.log("you can verify the contract address with:");
Expand Down
4 changes: 2 additions & 2 deletions tools/deployVerifier/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ npm i
- `maxPriorityFeePerGas`: set custom gas
- `multiplierGas`: set custom gas
- A network should be selected when running the script
- examples: `-- sepolia` or `--mainnet`
- examples: `--network sepolia` or `--network mainnet`
- This uses variables set in `hardhat.config.ts`
- Which uses some environment variables that should be set in `.env`
> All paths are from root repository
Expand All @@ -32,5 +32,5 @@ cp ./tools/deployVerifier/deploy_verifier_parameters.example ./tools/deployVerif
- Set your parameters
- Run tool:
```
npx hardhat run ./tools/deployVerifier/deployVerififer.ts --network sepolia
npx hardhat run ./tools/deployVerifier/deployVerifier.ts --network sepolia
```

0 comments on commit a1ab154

Please sign in to comment.