Skip to content

Commit

Permalink
Merge pull request #353 from ethereum/less-noisy-tracing
Browse files Browse the repository at this point in the history
Let's not have so much console noise during tracing
  • Loading branch information
d-xo authored Aug 4, 2023
2 parents 1a73dd3 + db3ec5f commit a1ce100
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Changed

- Less noisy console output during tracing

### UI

- 'check' prefix now recognized as a function signature to symbolically execute for Dapps
Expand Down
4 changes: 2 additions & 2 deletions test/EVM/Test/Tracing.hs
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,8 @@ compareTraces hevmTrace evmTrace = go hevmTrace evmTrace
bStack = b.stack
aGas = into a.traceGas
bGas = b.gas
putStrLn $ "hevm: " <> intToOpName aOp <> " pc: " <> show aPc <> " gas: " <> show aGas <> " stack: " <> show aStack
putStrLn $ "geth: " <> intToOpName bOp <> " pc: " <> show bPc <> " gas: " <> show bGas <> " stack: " <> show bStack
-- putStrLn $ "hevm: " <> intToOpName aOp <> " pc: " <> show aPc <> " gas: " <> show aGas <> " stack: " <> show aStack
-- putStrLn $ "geth: " <> intToOpName bOp <> " pc: " <> show bPc <> " gas: " <> show bGas <> " stack: " <> show bStack

when (aGas /= bGas) $ do
putStrLn "GAS doesn't match:"
Expand Down

0 comments on commit a1ce100

Please sign in to comment.