File tree 1 file changed +3
-3
lines changed
kevm-pyk/src/kevm_pyk/kproj/evm-semantics
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -377,9 +377,9 @@ The `#next [_]` operator initiates execution by:
377
377
- ` #stackDelta ` is the delta the stack will have after the opcode executes.
378
378
379
379
``` k
380
- syntax Bool ::= #stackUnderflow ( WordStack , OpCode ) [symbol(#stackUnderflow), macro ]
381
- | #stackOverflow ( WordStack , OpCode ) [symbol(#stackOverflow), macro ]
382
- // --------------------------------------------------------------------------------------
380
+ syntax Bool ::= #stackUnderflow ( WordStack , OpCode ) [symbol(#stackUnderflow), function, total ]
381
+ | #stackOverflow ( WordStack , OpCode ) [symbol(#stackOverflow), function, total ]
382
+ // ------------------------------------------------------------------------------------------------
383
383
rule #stackUnderflow(WS, OP:OpCode) => #sizeWordStack(WS) <Int #stackNeeded(OP)
384
384
rule #stackOverflow (WS, OP) => #sizeWordStack(WS) +Int #stackDelta(OP) >Int 1024
385
385
You can’t perform that action at this time.
0 commit comments