Skip to content

Commit

Permalink
Fix indexed reference to nonce cell (#2523)
Browse files Browse the repository at this point in the history
* Fix indexed reference to nonce cell

* Set Version: 1.0.639

---------

Co-authored-by: devops <[email protected]>
  • Loading branch information
nwatson22 and devops authored Jul 11, 2024
1 parent f00bc2b commit bd4e443
Show file tree
Hide file tree
Showing 4 changed files with 4 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.638"
version = "1.0.639"
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.638'
VERSION: Final = '1.0.639'
2 changes: 1 addition & 1 deletion kevm-pyk/src/kevm_pyk/kevm.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def short_info(self, cterm: CTerm) -> list[str]:
def add_invariant(cterm: CTerm) -> CTerm:
def _add_account_invariant(account: KApply) -> list[KApply]:
_account_constraints = []
acct_id, balance, nonce = account.args[0], account.args[1], account.args[5]
acct_id, balance, nonce = account.args[0], account.args[1], account.args[6]

if type(acct_id) is KApply and type(acct_id.args[0]) is KVariable:
_account_constraints.append(mlEqualsTrue(KEVM.range_address(acct_id.args[0])))
Expand Down
2 changes: 1 addition & 1 deletion package/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.638
1.0.639

0 comments on commit bd4e443

Please sign in to comment.