Open qbzzt opened 2 weeks ago
This sounds more like a forge/foundry issue than a MUD issue. Can you get this to consistently happen running just the forge script
? If so, should we submit an issue there?
To work around this in the meantime, can pass the --forgeScriptOptions
flag with mud deploy
This sounds more like a forge/foundry issue than a MUD issue. Can you get this to consistently happen running just the
forge script
? If so, should we submit an issue there?To work around this in the meantime, can pass the
--forgeScriptOptions
flag withmud deploy
Thank you. I updated the workaround above and added this option to the docs (https://github.com/latticexyz/mud/pull/2908).
When deploying to a conduit blockchain, you might get an error due to the post deploy script being out of gas:
For some reason we are still investigating the default gas estimates coming from the blockchain are too low, so the transaction runs out of gas.
Workaround
Use the
--forgeScriptOptions
command line parameter to specify the gas estimate multiplierforge script
will use.