0

I was experimenting with the playground on evm.codes and I came across something strange. The op codes of my test contract are: PUSH1 PUSH32 PUSH1 MSTORE PUSH1 PUSH1 REVERT

Whats strange to me is that after the REVERT operation is executed, the UI seems to indicate that whatever remained on the stack when revert is executed would remain on the stack. I was of the impression that revert would clear the stack before the next transaction. Does this data persist in someway, or is it a quirk of the playground UX?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.