ethereum-optimism / developers

This repository is to serve as a place where builders on every level of the OP Stack can come to collaborate.
Creative Commons Zero v1.0 Universal
73 stars 45 forks source link

Cannot find deployment: L1StandardBridgeProxy #463

Open armmarov opened 6 months ago

armmarov commented 6 months ago

Hi,

I got this error while running the tutorial script. The previous script showed no error, but we are still stuck at this stage. Any suggestion ? We are running on the sepolia and using the tutorials/chain branch by the way.

Script : go run cmd/main.go genesis l2 \ --deploy-config ../packages/contracts-bedrock/deploy-config/getting-started.json \ --deployment-dir ../packages/contracts-bedrock/deployments/getting-started/ \ --outfile.l2 genesis.json \ --outfile.rollup rollup.json \ --l1-rpc $L1_RPC_URL

Result : t=2024-04-30T16:21:47+0800 lvl=info msg="Deploy config" path=../packages/contracts-bedrock/deploy-config/getting-started.json t=2024-04-30T16:21:47+0800 lvl=info msg="Deployment directory" path=../packages/contracts-bedrock/deployments/getting-started/ t=2024-04-30T16:21:47+0800 lvl=crit msg="Application failed" message="cannot find L1StandardBridgeProxy artifact: cannot find deployment: L1StandardBridgeProxy" exit status 1

mrmacp commented 6 months ago

+1 exact same error

DavidCoder88 commented 6 months ago

+1

Dictators commented 6 months ago

+1

Stephen31337 commented 6 months ago

Hello, The error indicates a missing assignment of the deployed contract. Check your deployment logs for the contract address, then ensure your deployment script properly assigns the deployed contract address to your configuration. Sync your application to apply changes.

Delaube923 commented 6 months ago

+1

bruno353 commented 5 months ago

Hey, anyone found a solution here?

bruno353 commented 5 months ago

Hello, The error indicates a missing assignment of the deployed contract. Check your deployment logs for the contract address, then ensure your deployment script properly assigns the deployed contract address to your configuration. Sync your application to apply changes.

Can you elaborate?

bruno353 commented 5 months ago

Okay, so I found a temporary solution for this issue. Basically, what is happening is that under optimism/packages/contracts-bedrock/deployments/getting-started, the smart contract ABIs should have been created, but somehow (probably due to a problem in the Foundry script), they are not being created. So, you can go intooptimism/packages/contracts-bedrock/deployments/sepolia, copy the ABIs, and paste them under optimism/packages/contracts-bedrock/deployments/getting-started. After that, you can run the script again.

Of course, this is only a temporary solution and should be fixed in the future by the repo contributors.

image