Skip to content

Commit

Permalink
Add transient_storage parameter to KEVM.account_cell (#2522)
Browse files Browse the repository at this point in the history
* Add transient_storage parameter to KEVM.account_cell

* Set Version: 1.0.638

* Fix formatting

---------

Co-authored-by: devops <[email protected]>
  • Loading branch information
nwatson22 and devops authored Jul 10, 2024
1 parent 9130238 commit f00bc2b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 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.637"
version = "1.0.638"
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 @@ -5,4 +5,4 @@
if TYPE_CHECKING:
from typing import Final

VERSION: Final = '1.0.637'
VERSION: Final = '1.0.638'
9 changes: 8 additions & 1 deletion kevm-pyk/src/kevm_pyk/kevm.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,13 @@ def bytes_append(b1: KInner, b2: KInner) -> KApply:

@staticmethod
def account_cell(
id: KInner, balance: KInner, code: KInner, storage: KInner, orig_storage: KInner, nonce: KInner
id: KInner,
balance: KInner,
code: KInner,
storage: KInner,
orig_storage: KInner,
transient_storage: KInner,
nonce: KInner,
) -> KApply:
return KApply(
'<account>',
Expand All @@ -550,6 +556,7 @@ def account_cell(
KApply('<code>', [code]),
KApply('<storage>', [storage]),
KApply('<origStorage>', [orig_storage]),
KApply('<transientStorage>', [transient_storage]),
KApply('<nonce>', [nonce]),
],
)
Expand Down
2 changes: 1 addition & 1 deletion package/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.637
1.0.638

0 comments on commit f00bc2b

Please sign in to comment.