From 69b0e4289d05b22b0e06cabc3554551883d4a514 Mon Sep 17 00:00:00 2001 From: shotaro <10378902+shotaronowhere@users.noreply.github.com> Date: Fri, 12 Apr 2024 18:34:21 -0300 Subject: [PATCH] fix: deployment variables --- scripts/config.ts.example | 9 +++------ scripts/deploymentUtils.ts | 16 ++-------------- 2 files changed, 5 insertions(+), 20 deletions(-) diff --git a/scripts/config.ts.example b/scripts/config.ts.example index baf0c8bae..8d4a10444 100644 --- a/scripts/config.ts.example +++ b/scripts/config.ts.example @@ -27,12 +27,9 @@ export const config = { futureSeconds: ethers.BigNumber.from('3600'), }, delayConfig: { - thresholdBlocks: ethers.BigNumber.from('600'), - thresholdSeconds: ethers.BigNumber.from('7200'), - maxBufferBlocks: ethers.BigNumber.from('14400'), - maxBufferSeconds: ethers.BigNumber.from('172800'), - periodBlocks: ethers.BigNumber.from('12'), - periodSeconds: ethers.BigNumber.from('12'), + threshold: ethers.BigNumber.from('600'), + max: ethers.BigNumber.from('14400'), + replenishRateInBasis: ethers.BigNumber.from('833'), } }, validators: [ diff --git a/scripts/deploymentUtils.ts b/scripts/deploymentUtils.ts index 41c3e18d3..91bc50343 100644 --- a/scripts/deploymentUtils.ts +++ b/scripts/deploymentUtils.ts @@ -146,19 +146,6 @@ export async function deployAllContracts( [ ethBridge.address, ethSequencerInbox.address, - ethInbox.address, - ethRollupEventInbox.address, - ethOutbox.address, - ], - [ - erc20Bridge.address, - erc20SequencerInbox.address, - erc20Inbox.address, - erc20RollupEventInbox.address, - erc20Outbox.address, - ], - [ - ethBridge.address, ethDelayBufferableSequencerInbox.address, ethInbox.address, ethRollupEventInbox.address, @@ -166,11 +153,12 @@ export async function deployAllContracts( ], [ erc20Bridge.address, + erc20SequencerInbox.address, erc20DelayBufferableSequencerInbox.address, erc20Inbox.address, erc20RollupEventInbox.address, erc20Outbox.address, - ], + ] ]) const prover0 = await deployContract('OneStepProver0', signer) const proverMem = await deployContract('OneStepProverMemory', signer)