Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find deployment: L1StandardBridgeProxy #10345

Open
armmarov opened this issue Apr 30, 2024 · 8 comments
Open

Cannot find deployment: L1StandardBridgeProxy #10345

armmarov opened this issue Apr 30, 2024 · 8 comments

Comments

@armmarov
Copy link

armmarov commented Apr 30, 2024

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
Copy link

mrmacp commented May 8, 2024

+1
exact same error

@DavidCoder88
Copy link

+1

1 similar comment
@Dictators
Copy link

+1

@Stephen31337
Copy link

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
Copy link

+1

@bruno353
Copy link

bruno353 commented Jun 2, 2024

Hey, anyone found a solution here?

@bruno353
Copy link

bruno353 commented Jun 2, 2024

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
Copy link

bruno353 commented Jun 2, 2024

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 into optimism/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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants