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

restarting dev-contracts/deploy should check for and reuse world #3557

Open
frolic opened this issue Feb 2, 2025 · 0 comments
Open

restarting dev-contracts/deploy should check for and reuse world #3557

frolic opened this issue Feb 2, 2025 · 0 comments
Labels
good first issue Good for newcomers

Comments

@frolic
Copy link
Member

frolic commented Feb 2, 2025

I think it just assumes the world doesn't exist

  mud:cli:deploy deploying world +0ms
  mud:common:createNonceManager reset nonce to 7 +0ms
  mud:common:writeContract calling deployWorld at 0x8dC4168Dc8E582F0ef5aDbAB3C0873856682639B with nonce 7 +0ms
  mud:common:writeContract failed, resetting nonce +5ms
  mud:common:createNonceManager reset nonce to 7 +10ms

 Error while attempting deploy 

ContractFunctionExecutionError: The contract function "deployWorld" reverted.

Contract Call:
  address:   0x8dC4168Dc8E582F0ef5aDbAB3C0873856682639B
  function:  deployWorld(bytes salt)
  args:                 (0x)
  sender:    0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266

Docs: https://viem.sh/docs/contract/writeContract
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: No status
Development

No branches or pull requests

1 participant