Skip to content

Commit

Permalink
fix: deployment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
shotaronowhere committed Apr 12, 2024
1 parent 0082e9d commit 69b0e42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 20 deletions.
9 changes: 3 additions & 6 deletions scripts/config.ts.example
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
16 changes: 2 additions & 14 deletions scripts/deploymentUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,31 +146,19 @@ 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,
ethOutbox.address,
],
[
erc20Bridge.address,
erc20SequencerInbox.address,
erc20DelayBufferableSequencerInbox.address,
erc20Inbox.address,
erc20RollupEventInbox.address,
erc20Outbox.address,
],
]
])
const prover0 = await deployContract('OneStepProver0', signer)
const proverMem = await deployContract('OneStepProverMemory', signer)
Expand Down

0 comments on commit 69b0e42

Please sign in to comment.