Skip to content

Commit

Permalink
Fix rollup creator (#36)
Browse files Browse the repository at this point in the history
* Update deployment scripts for the rollup creator to fix the nitro testnode

* fix typo
  • Loading branch information
zacshowa authored Dec 11, 2024
1 parent 35e3e4b commit fee98cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 1 addition & 3 deletions scripts/deploymentUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ export async function deployAllContracts(
signer: any,
maxDataSize: BigNumber,
verify: boolean = true,
espressoLightClientAddr?: string
): Promise<Record<string, Contract>> {
const isOnArb = await _isRunningOnArbitrum(signer)

Expand Down Expand Up @@ -198,11 +197,10 @@ export async function deployAllContracts(
[],
verify
)
const hostIoArg = espressoLightClientAddr ? [espressoLightClientAddr] : []
const proverHostIo = await deployContract(
'OneStepProverHostIo',
signer,
hostIoArg,
[],
verify
)

Expand Down
6 changes: 1 addition & 5 deletions scripts/local-deployment/deployCreatorAndCreateRollup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ async function main() {
throw new Error('PARENT_CHAIN_ID not set')
}

let espressoLightClientAddr = process.env.LIGHT_CLIENT_ADDR as string
if (!espressoLightClientAddr) {
throw new Error("LIGHT_CLIENT_ADDR not set")
}

const deployerWallet = new ethers.Wallet(
deployerPrivKey,
Expand All @@ -49,7 +45,7 @@ async function main() {

/// deploy templates and rollup creator
console.log('Deploy RollupCreator')
const contracts = await deployAllContracts(deployerWallet, maxDataSize, false, espressoLightClientAddr)
const contracts = await deployAllContracts(deployerWallet, maxDataSize, false)

// for local deployment, we use a mock address
const espressoTEEVerifierMock = await deployContract(
Expand Down

0 comments on commit fee98cd

Please sign in to comment.