Skip to content

Commit

Permalink
Avoid generating cell-fragments during execution (#2253)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
3 people authored Jan 11, 2024
1 parent 3cb310e commit dca9426
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion kevm-pyk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "kevm-pyk"
version = "1.0.412"
version = "1.0.413"
description = ""
authors = [
"Runtime Verification, Inc. <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion kevm-pyk/src/kevm_pyk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
from typing import Final


VERSION: Final = '1.0.412'
VERSION: Final = '1.0.413'
20 changes: 10 additions & 10 deletions kevm-pyk/src/kevm_pyk/kproj/evm-semantics/evm.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,13 @@ The `callStack` cell stores a list of previous VM execution states.
syntax InternalOp ::= "#pushCallStack"
// --------------------------------------
rule <k> #pushCallStack => . ... </k>
<callStack> STACK => ListItem(CALLSTATE) STACK </callStack>
<callStack> STACK => ListItem(<callState> CALLSTATE </callState>) STACK </callStack>
<callState> CALLSTATE </callState>
syntax InternalOp ::= "#popCallStack"
// -------------------------------------
rule <k> #popCallStack => . ... </k>
<callStack> ListItem(CALLSTATE) REST => REST </callStack>
<callStack> ListItem(<callState> CALLSTATE </callState>) REST => REST </callStack>
<callState> _ => CALLSTATE </callState>
syntax InternalOp ::= "#dropCallStack"
Expand All @@ -227,22 +227,22 @@ The `interimStates` cell stores a list of previous world states.
- `#dropWorldState` removes the top element of the `interimStates`.

```k
syntax Accounts ::= "{" AccountsCellFragment "|" SubstateCellFragment "}"
// -------------------------------------------------------------------------
syntax Accounts ::= "{" AccountsCell "|" SubstateCell "}"
// ---------------------------------------------------------
syntax InternalOp ::= "#pushWorldState"
// ---------------------------------------
rule <k> #pushWorldState => .K ... </k>
<interimStates> STATES => ListItem({ ACCTDATA | SUBSTATE }) STATES </interimStates>
<accounts> ACCTDATA </accounts>
<substate> SUBSTATE </substate>
<interimStates> STATES => ListItem({ <accounts> ACCTDATA </accounts> | <substate> SUBSTATE </substate> }) STATES </interimStates>
<accounts> ACCTDATA </accounts>
<substate> SUBSTATE </substate>
syntax InternalOp ::= "#popWorldState"
// --------------------------------------
rule <k> #popWorldState => .K ... </k>
<interimStates> ListItem({ ACCTDATA | SUBSTATE }) REST => REST </interimStates>
<accounts> _ => ACCTDATA </accounts>
<substate> _ => SUBSTATE </substate>
<interimStates> ListItem({ <accounts> ACCTDATA </accounts> | <substate> SUBSTATE </substate> }) REST => REST </interimStates>
<accounts> _ => ACCTDATA </accounts>
<substate> _ => SUBSTATE </substate>
syntax InternalOp ::= "#dropWorldState"
// ---------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion package/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.412
1.0.413

0 comments on commit dca9426

Please sign in to comment.