Skip to content

Commit dca9426

Browse files
ehildenbrv-auditoranvacaru
authored
Avoid generating cell-fragments during execution (#2253)
* kproj/evm: avoid generating cell fragments * Set Version: 1.0.411 * Set Version: 1.0.412 * Set Version: 1.0.413 --------- Co-authored-by: devops <[email protected]> Co-authored-by: Andrei Văcaru <[email protected]>
1 parent 3cb310e commit dca9426

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

kevm-pyk/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "kevm-pyk"
7-
version = "1.0.412"
7+
version = "1.0.413"
88
description = ""
99
authors = [
1010
"Runtime Verification, Inc. <[email protected]>",

kevm-pyk/src/kevm_pyk/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
from typing import Final
77

88

9-
VERSION: Final = '1.0.412'
9+
VERSION: Final = '1.0.413'

kevm-pyk/src/kevm_pyk/kproj/evm-semantics/evm.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,13 @@ The `callStack` cell stores a list of previous VM execution states.
203203
syntax InternalOp ::= "#pushCallStack"
204204
// --------------------------------------
205205
rule <k> #pushCallStack => . ... </k>
206-
<callStack> STACK => ListItem(CALLSTATE) STACK </callStack>
206+
<callStack> STACK => ListItem(<callState> CALLSTATE </callState>) STACK </callStack>
207207
<callState> CALLSTATE </callState>
208208
209209
syntax InternalOp ::= "#popCallStack"
210210
// -------------------------------------
211211
rule <k> #popCallStack => . ... </k>
212-
<callStack> ListItem(CALLSTATE) REST => REST </callStack>
212+
<callStack> ListItem(<callState> CALLSTATE </callState>) REST => REST </callStack>
213213
<callState> _ => CALLSTATE </callState>
214214
215215
syntax InternalOp ::= "#dropCallStack"
@@ -227,22 +227,22 @@ The `interimStates` cell stores a list of previous world states.
227227
- `#dropWorldState` removes the top element of the `interimStates`.
228228

229229
```k
230-
syntax Accounts ::= "{" AccountsCellFragment "|" SubstateCellFragment "}"
231-
// -------------------------------------------------------------------------
230+
syntax Accounts ::= "{" AccountsCell "|" SubstateCell "}"
231+
// ---------------------------------------------------------
232232
233233
syntax InternalOp ::= "#pushWorldState"
234234
// ---------------------------------------
235235
rule <k> #pushWorldState => .K ... </k>
236-
<interimStates> STATES => ListItem({ ACCTDATA | SUBSTATE }) STATES </interimStates>
237-
<accounts> ACCTDATA </accounts>
238-
<substate> SUBSTATE </substate>
236+
<interimStates> STATES => ListItem({ <accounts> ACCTDATA </accounts> | <substate> SUBSTATE </substate> }) STATES </interimStates>
237+
<accounts> ACCTDATA </accounts>
238+
<substate> SUBSTATE </substate>
239239
240240
syntax InternalOp ::= "#popWorldState"
241241
// --------------------------------------
242242
rule <k> #popWorldState => .K ... </k>
243-
<interimStates> ListItem({ ACCTDATA | SUBSTATE }) REST => REST </interimStates>
244-
<accounts> _ => ACCTDATA </accounts>
245-
<substate> _ => SUBSTATE </substate>
243+
<interimStates> ListItem({ <accounts> ACCTDATA </accounts> | <substate> SUBSTATE </substate> }) REST => REST </interimStates>
244+
<accounts> _ => ACCTDATA </accounts>
245+
<substate> _ => SUBSTATE </substate>
246246
247247
syntax InternalOp ::= "#dropWorldState"
248248
// ---------------------------------------

package/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.412
1+
1.0.413

0 commit comments

Comments
 (0)