Skip to content

Commit

Permalink
Update dependency: deps/kwasm_release (#29)
Browse files Browse the repository at this point in the history
* deps/kwasm_release: Set Version 0.1.99

* Set Version: 0.1.23

* Sync Poetry files 0.1.99

* deps/k_release: sync release file version 7.1.112

* deps/kwasm_release: Set Version 0.1.100

* deps/kwasm_release: Set Version 0.1.101

* Sync Poetry files 0.1.101

* deps/k_release: sync release file version 7.1.123

* deps/kwasm_release: Set Version 0.1.102

* Sync Poetry files 0.1.102

* deps/k_release: sync release file version 7.1.124

* Set Version: 0.1.27

* Sync Poetry files 0.1.102

* expect AssertionError for failing tests

* Sync Poetry files 0.1.102

---------

Co-authored-by: devops <[email protected]>
Co-authored-by: Burak Bilge Yalçınkaya <[email protected]>
  • Loading branch information
3 people authored Sep 5, 2024
1 parent 80640c4 commit 2833e6e
Show file tree
Hide file tree
Showing 7 changed files with 81 additions and 72 deletions.
2 changes: 1 addition & 1 deletion deps/k_release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.1.103
7.1.124
2 changes: 1 addition & 1 deletion deps/kwasm_release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.98
0.1.102
2 changes: 1 addition & 1 deletion package/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.26
0.1.27
138 changes: 73 additions & 65 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions 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 = "komet"
version = "0.1.26"
version = "0.1.27"
description = "K tooling for the Soroban platform"
authors = [
"Runtime Verification, Inc. <[email protected]>",
Expand All @@ -18,7 +18,7 @@ soroban-semantics = "komet.kdist.plugin"

[tool.poetry.dependencies]
python = "^3.10"
pykwasm = { git = "https://github.com/runtimeverification/wasm-semantics.git", tag = "v0.1.98", subdirectory = "pykwasm" }
pykwasm = { git = "https://github.com/runtimeverification/wasm-semantics.git", tag = "v0.1.102", subdirectory = "pykwasm" }

[tool.poetry.group.dev.dependencies]
autoflake = "*"
Expand Down
2 changes: 2 additions & 0 deletions src/komet/kasmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ def call_init() -> tuple[KInner, ...]:

# Run the steps and grab the resulting config as a starting place to call transactions
proc_res = concrete_definition.krun_with_kast(steps, sort=KSort('Steps'), output=KRunOutput.KORE)
assert proc_res.returncode == 0

kore_result = KoreParser(proc_res.stdout).pattern()
kast_result = kore_to_kast(concrete_definition.kdefinition, kore_result)

Expand Down
3 changes: 1 addition & 2 deletions src/tests/integration/test_integration.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from pathlib import Path
from subprocess import CalledProcessError

import pytest
from pyk.kdist import kdist
Expand Down Expand Up @@ -41,7 +40,7 @@ def test_komet(contract_path: Path, tmp_path: Path, concrete_kasmer: Kasmer) ->

# Then
if contract_path.stem.endswith('_fail'):
with pytest.raises(CalledProcessError):
with pytest.raises(AssertionError):
concrete_kasmer.deploy_and_run(contract_wasm, child_wasms)
else:
concrete_kasmer.deploy_and_run(contract_wasm, child_wasms)
Expand Down

0 comments on commit 2833e6e

Please sign in to comment.