Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scripts/deployment/staking/celo/globals_celo_sepolia.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"blockscoutURL": "https://celo-alfajores.blockscout.com",
"gasPriceInGwei": "2",
"olasAddress": "0xaCFfAe8e57Ec6E394Eb1b41939A8CF7892DbDc51",
"l1ChainId": "1",
"serviceStakingFactoryAddress": "0x1c2cD884127b080F940b7546c1e9aaf525b1FA55",
"bridgeMediatorAddress": "0x397125902ED2cA2d42104F621f448A2cE1bC8Fb7",
"celoL2CrossDomainMessengerAddress": "0x4200000000000000000000000000000000000007",
Expand Down
12 changes: 11 additions & 1 deletion scripts/deployment/staking/deploy_10_set_deposit_processors.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
/*global process*/
/*
* NOTE: this script does NOT register the Mode processor.
*
* Mode's L1 processor is deployed at step 11, after this step runs, so its address does not exist
* yet here. `deploy_10_set_deposit_processors.sh` is the current equivalent and registers all eight
* routes including Mode; prefer it. A chain left unregistered resolves to a zero processor and
* reverts the claim - in the batch path it takes the other chains' claims down with it - so a
* fresh deployment that uses this script must register Mode separately afterwards.
*/


const { ethers } = require("hardhat");
const { LedgerSigner } = require("@anders-t/ethers-ledger");
Expand Down Expand Up @@ -36,7 +46,7 @@ async function main() {
// Get all the contracts
const arbitrumDepositProcessorL1 = await ethers.getContractAt("ArbitrumDepositProcessorL1", arbitrumDepositProcessorL1Address);
const baseDepositProcessorL1 = await ethers.getContractAt("OptimismDepositProcessorL1", baseDepositProcessorL1Address);
const celoDepositProcessorL1 = await ethers.getContractAt("WormholeDepositProcessorL1", celoDepositProcessorL1Address);
const celoDepositProcessorL1 = await ethers.getContractAt("OptimismDepositProcessorL1", celoDepositProcessorL1Address);
const gnosisDepositProcessorL1 = await ethers.getContractAt("GnosisDepositProcessorL1", gnosisDepositProcessorL1Address);
const optimismDepositProcessorL1 = await ethers.getContractAt("OptimismDepositProcessorL1", optimismDepositProcessorL1Address);
const polygonDepositProcessorL1 = await ethers.getContractAt("PolygonDepositProcessorL1", polygonDepositProcessorL1Address);
Expand Down
2 changes: 1 addition & 1 deletion scripts/deployment/staking/globals_sepolia.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"modeL1StandardBridgeProxyAddress": "0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1",
"modeL1CrossDomainMessengerProxyAddress": "0x58Cc85b8D04EA49cC6DBd3CbFFd00B4B8D6cb3ef",
"modeOLASAddress": "0x01B8b6384298D4848E3BE63D4C9D17830EeE488A",
"modeL2TargetChainId": "84532",
"modeL2TargetChainId": "919",
"modeDepositProcessorL1Address": "0x93504d2275998a4fCa666000A906067648edC723",
"wormholeL1CoreAddress": "0x4a8bc80Ed5a4067f1CCf107057b8270E0cC11A78",
"wormholeL1TokenRelayerAddress": "0xDB5492265f6038831E89f495670FF909aDe94bd9",
Expand Down
Loading