Skip to content

Commit

Permalink
Add escaping to sort_field (#145)
Browse files Browse the repository at this point in the history
* Add escaping to sort_field

* Set Version: 0.1.40

* Update expected contracts.k

* Set Version: 0.1.41

* Set Version: 0.1.41

---------

Co-authored-by: devops <[email protected]>
  • Loading branch information
nwatson22 and devops authored Oct 30, 2023
1 parent 51a85d6 commit f982237
Show file tree
Hide file tree
Showing 5 changed files with 902 additions and 902 deletions.
2 changes: 1 addition & 1 deletion package/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.40
0.1.41
2 changes: 1 addition & 1 deletion 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 = "kontrol"
version = "0.1.40"
version = "0.1.41"
description = "Foundry integration for KEVM"
authors = [
"Runtime Verification, Inc. <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/kontrol/__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 = '0.1.40'
VERSION: Final = '0.1.41'
2 changes: 1 addition & 1 deletion src/kontrol/solc_to_k.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def sort(self) -> KSort:

@property
def sort_field(self) -> KSort:
return KSort(f'{self.name}Field')
return KSort(f'{Contract.escaped(self.name, "S2K")}Field')

@property
def sort_method(self) -> KSort:
Expand Down
1,796 changes: 898 additions & 898 deletions src/tests/integration/test-data/contracts.k.expected

Large diffs are not rendered by default.

0 comments on commit f982237

Please sign in to comment.