Skip to content

Commit

Permalink
remove exception-revert exception-skip priority attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
bbyalcinkaya committed Aug 10, 2023
1 parent e12ad8f commit ec98a95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ else
endif
K_BIN := $(K_RELEASE)/bin
K_LIB := $(K_RELEASE)/lib/kframework
export K_OPTS ?= -Xmx20G -Xss512m
export K_OPTS ?= -Xmx12G -Xss512m
export K_RELEASE

PYTHONPATH := $(K_LIB):$(KWASM_BINARY_PARSER):$(PYTHONPATH)
Expand Down Expand Up @@ -127,7 +127,7 @@ wasm-deps:
# -------------------

HOOK_NAMESPACES := KRYPTO
KOMPILE_OPTS := --hook-namespaces \"$(HOOK_NAMESPACES)\" -I $(CURDIR)
KOMPILE_OPTS := --hook-namespaces \"$(HOOK_NAMESPACES)\" -I $(CURDIR) -v

ifneq (,$(K_COVERAGE))
KOMPILE_OPTS += --coverage
Expand Down
4 changes: 2 additions & 2 deletions elrond-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -435,12 +435,11 @@ TODO: Implement [reserved keys and read-only runtimes](https://github.com/Elrond
rule [exception-revert]:
<commands> (#exception(EC, MSG) ~> #endWasm) => popCallState ~> popWorldState ... </commands>
<vmOutput> .VMOutput => VMOutput( EC , MSG , .ListBytes , .List) </vmOutput>
[priority(10)]
rule [exception-skip]:
<commands> #exception(_,_) ~> (CMD:InternalCmd => . ) ... </commands>
requires CMD =/=K #endWasm
[priority(10)]
```

### `#throwException*`
Expand Down Expand Up @@ -662,6 +661,7 @@ Every contract call runs in its own Wasm instance initialized with the contract'
<instrs> initContractModule(CODE) </instrs>
...
</wasm>)
rule [setContractModIdx]:
<commands> setContractModIdx => . ... </commands>
<contractModIdx> _ => NEXTIDX -Int 1 </contractModIdx>
Expand Down

0 comments on commit ec98a95

Please sign in to comment.