evm.codes icon indicating copy to clipboard operation
evm.codes copied to clipboard

Infinite Loops Break Playground

Open Drblessing opened this issue 2 years ago • 1 comments

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.

Drblessing avatar Jun 06 '23 18:06 Drblessing

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.

peroket avatar Jun 07 '23 07:06 peroket