You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I deploy a world with mud dev-contracts to a long-running anvil instance, then restart and deploy again, it'll reuse the salt and thus get the same world address. However, the second world deploy will fail.
It should either detect this and pick a new salt or reuse the already-deployed world.
We should also see if we can improve the error message from these instances, because it's really unclear
Error while attempting deploy
ContractFunctionExecutionError: The contract function "deployWorld" reverted.
Contract Call:
address: 0x573802f86c51B61d7Cf620952217eC6Ce0537d2E
function: deployWorld(bytes salt)
args: (0x)
sender: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
Docs: https://viem.sh/docs/contract/writeContract
Version: 2.21.6
The text was updated successfully, but these errors were encountered:
If I deploy a world with
mud dev-contracts
to a long-running anvil instance, then restart and deploy again, it'll reuse the salt and thus get the same world address. However, the second world deploy will fail.It should either detect this and pick a new salt or reuse the already-deployed world.
We should also see if we can improve the error message from these instances, because it's really unclear
The text was updated successfully, but these errors were encountered: