Skip to content

Commit

Permalink
Fix undefined requires clause (#281)
Browse files Browse the repository at this point in the history
* Fix undefined requires clause

* Set Version: 0.1.75

---------

Co-authored-by: devops <[email protected]>
  • Loading branch information
virgil-serbanuta and devops authored Jun 10, 2024
1 parent 9dbece3 commit 3515941
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion kmultiversx/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 = "kmultiversx"
version = "0.1.74"
version = "0.1.75"
description = "Python tools for Elrond semantics"
authors = [
"Runtime Verification, Inc. <[email protected]>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,11 @@ module ELROND-CONFIG
```k
syntax Bool ::= #hasPrefix ( String , String ) [function, total]
// ---------------------------------------------------------------------
rule #hasPrefix(STR, PREFIX) => true
rule #hasPrefix(STR, PREFIX) => substrString(STR, 0, lengthString(PREFIX)) ==String PREFIX
requires lengthString(STR) >=Int lengthString(PREFIX)
andBool substrString(STR, 0, lengthString(PREFIX)) ==String PREFIX
rule #hasPrefix(STR, PREFIX) => false
requires notBool ( lengthString(STR) >=Int lengthString(PREFIX)
andBool substrString(STR, 0, lengthString(PREFIX)) ==String PREFIX)
requires notBool (lengthString(STR) >=Int lengthString(PREFIX))
```

### Memory
Expand Down
2 changes: 1 addition & 1 deletion package/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.74
0.1.75

0 comments on commit 3515941

Please sign in to comment.