1. 06 Apr, 2022 1 commit
    • Sina Mahmoodi's avatar
      eth/tracers: refactor traceTx to separate out struct logging (#24326) · fb3a081c
      Sina Mahmoodi authored
      * eth/tracers: refactor traceTx to separate out struct logging
      
      review fix
      
      Update eth/tracers/api.go
      Co-authored-by: 's avatarMartin Holst Swende <martin@swende.se>
      
      Mv ExecutionResult type to logger package
      
      review fix
      
      impl GetResult for StructLogger
      
      make formatLogs private
      
      confused exit and end..
      
      account for intrinsicGas in structlogger, fix TraceCall test
      
      Add Stop method to logger
      
      Simplify traceTx
      
      Fix test
      
      rm logger from blockchain test
      
      account for refund in structLogger
      
      * use tx hooks in struct logger
      
      * minor
      
      * avoid executionResult in struct logger
      
      * revert blockchain test changes
      fb3a081c
  2. 05 Apr, 2022 2 commits
  3. 04 Apr, 2022 1 commit
  4. 31 Mar, 2022 3 commits
    • Martin Holst Swende's avatar
      eth: clarify the error string on getlogs failure (#24617) · 1e973a96
      Martin Holst Swende authored
      This PR makes the errors we spit out a bit more clear about what block is problematic.
      1e973a96
    • Sina Mahmoodi's avatar
      core,eth: implement tx-level hooks for tracers (#24510) · 3fd16af5
      Sina Mahmoodi authored
      * core,eth: add empty tx logger hooks
      
      * core,eth: add initial and remaining gas to tx hooks
      
      * store tx gasLimit in js tracer
      
      * use gasLimit to compute intrinsic cost for js tracer
      
      * re-use rules in transitiondb
      
      * rm logs
      
      * rm logs
      
      * Mv some fields from Start to TxStart
      
      * simplify sender lookup in prestate tracer
      
      * mv env to TxStart
      
      * Revert "mv env to TxStart"
      
      This reverts commit 656939634b9aff19f55a1cd167345faf8b1ec310.
      
      * Revert "simplify sender lookup in prestate tracer"
      
      This reverts commit ab65bce48007cab99e68232e7aac2fe008338d50.
      
      * Revert "Mv some fields from Start to TxStart"
      
      This reverts commit aa50d3d9b2559addc80df966111ef5fb5d0c1b6b.
      
      * fix intrinsic gas for prestate tracer
      
      * add comments
      
      * refactor
      
      * fix test case
      
      * simplify consumedGas calc in prestate tracer
      3fd16af5
    • rjl493456442's avatar
      trie, les, tests, core: implement trie tracer (#24403) · da16d089
      rjl493456442 authored
      Trie tracer is an auxiliary tool to capture all deleted nodes
      which can't be captured by trie.Committer. The deleted nodes
      can be removed from the disk later.
      da16d089
  5. 30 Mar, 2022 2 commits
  6. 29 Mar, 2022 13 commits
  7. 27 Mar, 2022 1 commit
  8. 25 Mar, 2022 4 commits
  9. 24 Mar, 2022 1 commit
  10. 23 Mar, 2022 3 commits
  11. 22 Mar, 2022 4 commits
  12. 21 Mar, 2022 1 commit
  13. 18 Mar, 2022 1 commit
  14. 17 Mar, 2022 2 commits
    • Marius van der Wijden's avatar
      667e1c03
    • Marius van der Wijden's avatar
      core: eth: implement Kiln-v2 spec (#24506) · 4f4622bc
      Marius van der Wijden authored
      * core/beacon: eth/catalyst: updated engine api to new version
      
      * core: implement exchangeTransitionConfig
      
      * core/beacon: prevRandao instead of Random
      
      * eth/catalyst: Fix ExchangeTransitionConfig, add test
      
      * eth/catalyst: stop external miners on TTD reached
      
      * node: implement --authrpc.vhosts flag
      
      * core: allow for config override on non-mainnet networks
      
      * eth/catalyst: fix peters comments
      
      * eth/catalyst: make stop remote sealer more explicit
      
      * eth/catalyst: add log output
      
      * cmd/utils: rename authrpc.host to authrpc.addr
      
      * eth/catalyst: disable the disabling of the miner
      
      * eth: core: remove notion of terminal pow block
      
      * eth: les: more of peters nitpicks
      4f4622bc
  15. 16 Mar, 2022 1 commit
    • Jonathan Chappelow's avatar
      crypto: use btcec/v2 for no-cgo (#24533) · 830231c1
      Jonathan Chappelow authored
      This updates the no-cgo implementations in the crypto package to use
      the github.com/btcsuite/btcd/btcec/v2 module instead of the older btcec
      package that was part of the main github.com/btcsuite/btcd module.
      
      name                   old time/op  new time/op  delta
      EcrecoverSignature-32   198µs ± 0%   144µs ± 0%  -27.11%
      VerifySignature-32      177µs ± 0%   128µs ± 0%  -27.44%
      DecompressPubkey-32    20.9µs ± 0%  10.1µs ± 0%  -51.51%
      
      Use (*ModNScalar).IsOverHalfOrder instead of math/big.Int when checking
      for malleable signatures.
      830231c1