evm.codes
evm.codes copied to clipboard
Infinite Loops Break Playground
In the EVM Playground, running:
JUMPDEST
PUSH1 0
JUMP
Then clicking "Continue execution" will break the playground and make the webpage unresponsive. I'm not sure if this is intended or if there should be a max gas limit like in the EVM.
Thank you :-) We do use gas, but we set the limit very high. Any code is run locally within the browser, so this does not affect our servers. We may want to add the possibility to set the gas though to limit those issues, we will discuss it internally.