Closed ryanalbrecht closed 4 months ago
Thank you. decrement()
used to be correct, but then we changed the templates and didn't change the guide to match. I apologize. I just submitted a PR to fix this: https://github.com/latticexyz/mud/pull/2859 .
Im still very new to this but there is a slight error in the code when using the default setup with the HelloWorld tutorial.
createSystemCall.ts should be
app_decrement()
instead ofdecrement()
as the generated function name in packages\contracts\src\codegen\world\IDecrementSystem.sol is prefixed withapp__