diff --git a/scripts/deploymentUtils.ts b/scripts/deploymentUtils.ts index ae7855de..54e963d1 100644 --- a/scripts/deploymentUtils.ts +++ b/scripts/deploymentUtils.ts @@ -118,7 +118,6 @@ export async function deployAllContracts( signer: any, maxDataSize: BigNumber, verify: boolean = true, - espressoLightClientAddr?: string ): Promise> { const isOnArb = await _isRunningOnArbitrum(signer) @@ -198,11 +197,10 @@ export async function deployAllContracts( [], verify ) - const hostIoArg = espressoLightClientAddr ? [espressoLightClientAddr] : [] const proverHostIo = await deployContract( 'OneStepProverHostIo', signer, - hostIoArg, + [], verify ) diff --git a/scripts/local-deployment/deployCreatorAndCreateRollup.ts b/scripts/local-deployment/deployCreatorAndCreateRollup.ts index fdd251fe..8faefa14 100644 --- a/scripts/local-deployment/deployCreatorAndCreateRollup.ts +++ b/scripts/local-deployment/deployCreatorAndCreateRollup.ts @@ -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, @@ -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(