Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix non-exhaustive warnings on gas related rules #2332

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.485"
version = "1.0.486"
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 @@ -6,4 +6,4 @@
from typing import Final


VERSION: Final = '1.0.485'
VERSION: Final = '1.0.486'
4 changes: 2 additions & 2 deletions kevm-pyk/src/kevm_pyk/kproj/evm-semantics/gas.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ module INFINITE-GAS
rule #gas(G) /Gas #gas(G') => #gas(G /Int G') requires G' =/=Int 0

rule _:Int <Gas #gas(_) => true
rule #gas(_) <Gas _ => false [simplification]
anvacaru marked this conversation as resolved.
Show resolved Hide resolved
rule #gas(_) <Gas _ => false
rule #gas(_) <=Gas _:Int => false
rule _ <=Gas #gas(_) => true [simplification]
rule _ <=Gas #gas(_) => true

rule minGas(#gas(G), #gas(G')) => #gas(minInt(G, G'))
rule minGas(G:Int , #gas(G')) => #gas(minInt(G, G'))
Expand Down
2 changes: 1 addition & 1 deletion package/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.485
1.0.486
Loading