Skip to content

Commit

Permalink
Fix useless rule warning (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
gtrepta authored and rv-jenkins committed Nov 4, 2019
1 parent b304508 commit c1425a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web3.md
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,9 @@ Transaction Receipts
syntax KItem ::= "#eth_estimateGas_finalize" Int
// ------------------------------------------------
rule <k> #eth_estimateGas_finalize INITGUSED:Int => #popNetworkState ~> #sendResponse ("result": #unparseQuantity( GUSED -Int INITGUSED )) ... </k>
<statusCode> STATUSCODE </statusCode>
<gasUsed> GUSED </gasUsed>
requires STATUSCODE =/=K EVMC_OUT_OF_GAS
rule <k> #eth_estimateGas_finalize _ => #popNetworkState ~> #sendResponse ( "error": {"code": -32000, "message":"base fee exceeds gas limit"}) ... </k>
<statusCode> EVMC_OUT_OF_GAS </statusCode>
Expand Down

0 comments on commit c1425a3

Please sign in to comment.