From 095fdf251f549fd1c0ddc8d77be05635f0770638 Mon Sep 17 00:00:00 2001 From: krlosMata Date: Sun, 15 Sep 2024 22:50:11 +0200 Subject: [PATCH] cherry-pick 4af640cfb84b4841450d335dc5a5c0cd4d800cea --- tools/addRollupType/add_rollup_type.json | 17 ----------------- .../addRollupType/add_rollup_type.json.example | 1 + tools/deployVerifier/README.md | 4 ++-- 3 files changed, 3 insertions(+), 19 deletions(-) delete mode 100644 tools/addRollupType/add_rollup_type.json diff --git a/tools/addRollupType/add_rollup_type.json b/tools/addRollupType/add_rollup_type.json deleted file mode 100644 index e1f10e02d..000000000 --- a/tools/addRollupType/add_rollup_type.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "consensusContract": "PolygonZkEVMEtrog", - "polygonRollupManagerAddress": "0x5132A183E9F3CB7C848b0AAC5Ae0c4f0491B7aB2", - "verifierAddress": "0x0775e11309d75aA6b0967917fB0213C5673eDf81", - "description": "Type: zkEVM, Version: eldelberry2, genesis: /ipfs/QmUXnRoPbUmZuEZCGyiHjEsoNcFVu3hLtSvhpnfBS2mAYU", - "forkID": 9, - "rollupCompatibilityID": 0, - "timelockDelay": 0, - "polygonconsensusContract": "0x2650a9a4fC64f63F573EF0F405064EF54BC46f71", - "gasTokenAddress": "", - "timelockSalt": "", - "deployerPvtKey": "", - "maxFeePerGas": "", - "maxPriorityFeePerGas": "", - "multiplierGas": "", - "genesisRoot": "0xe3a7d8bae497945ba8ddc51c69564f60ad4c1a990b9c7bdbd27f7929bfa8f272" -} diff --git a/tools/addRollupType/add_rollup_type.json.example b/tools/addRollupType/add_rollup_type.json.example index 5ee56447a..f65f64c56 100644 --- a/tools/addRollupType/add_rollup_type.json.example +++ b/tools/addRollupType/add_rollup_type.json.example @@ -1,5 +1,6 @@ { "consensusContract": "PolygonValidiumEtrog", + "polygonconsensusContract": "", "polygonRollupManagerAddress": "0x5132A183E9F3CB7C848b0AAC5Ae0c4f0491B7aB2", "verifierAddress": "0x1C3A3da552b8662CD69538356b1E7c2E9CC1EBD8", "description": "Type: Validium, Version: etrog, genesis: /ipfs/QmUXnRoPbUmZuEZCGyiHjEsoNcFVu3hLtSvhpnfBS2mAYU", diff --git a/tools/deployVerifier/README.md b/tools/deployVerifier/README.md index 5cbccf7a3..1d2864d90 100644 --- a/tools/deployVerifier/README.md +++ b/tools/deployVerifier/README.md @@ -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 @@ -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 ```