Skip to content

Commit

Permalink
Do not enter evm estimate mode when binary search flag is enabled (p…
Browse files Browse the repository at this point in the history
…aritytech#650)

* Do not enter estimate mode when binary flag is enabled

* cfg one liner
  • Loading branch information
tgmichel authored May 10, 2022
1 parent 8784248 commit 90dc0eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/rpc/src/eth/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ where

// Verify that the transaction succeed with highest capacity
let cap = highest;
let estimate_mode = true;
let estimate_mode = !cfg!(feature = "rpc_binary_search_estimate");
let ExecutableResult {
data,
exit_reason,
Expand Down

0 comments on commit 90dc0eb

Please sign in to comment.