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

[WIP] core/vm: improve EVM reusability #676

Open
wants to merge 93 commits into
base: dev-upgrade
Choose a base branch
from

Commits on Oct 18, 2024

  1. eth: fix typo balacne

    gzliudan committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    67fa774 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4fb49d4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ed579d2 View commit details
    Browse the repository at this point in the history
  4. core/vm: make gas cost reporting to tracers correct (ethereum#22702)

    Previously, the makeCallVariantGasCallEIP2929 charged the cold account access cost directly, leading to an incorrect gas cost passed to the tracer from the main execution loop.
    This change still temporarily charges the cost (to allow for an accurate calculation of the available gas for the call), but then afterwards refunds it and instead returns the correct total gas cost to be then properly charged in the main loop.
    holiman authored and gzliudan committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    40ef9d5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eca6f9e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1bf3813 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    69916b3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    58c5020 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9dc1eaf View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    47948b0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b775a34 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3341a30 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    649e59d View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    05e91f6 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8328615 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    5470ef8 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    4f371fb View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    48f6ad2 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    77a6998 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    4382dfb View commit details
    Browse the repository at this point in the history
  21. accounts/abi/bind: add NoSend transact option (ethereum#22446)

    This adds a new option to avoid sending the transaction which is
    created by calling a bound contract method.
    reds authored and gzliudan committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    4b5b18d View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    0921351 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    869c66a View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    93ab759 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    6a03341 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    03a8746 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    478554b View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    f521a6a View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    bed91f6 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    e8e5668 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    dc33925 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    31dad63 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    72c7ef0 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    c21717b View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    97578c0 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    fdb0c86 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    fca0b53 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    7cf35e6 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    25eccb8 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    744f975 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    8647b5b View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    8cb11d9 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    7020086 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    32705a3 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    91a0ecb View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    a7e9cc9 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    912e6b9 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    771f440 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    4f7e4cf View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    b5fa90e View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    b2c727f View commit details
    Browse the repository at this point in the history
  52. accounts/abi/bind: fix error handling in baseFee query (ethereum#23781)

    This fixes a panic that occurs when HeaderByNumber() returns an error.
    kibgzr authored and gzliudan committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    efb59fb View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    c87206d View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    da15303 View commit details
    Browse the repository at this point in the history
  55. core: more efficient nonce-update in txpool (ethereum#22231)

    * Adjust pending nonce update operation
    
    Benchmark the speed of transaction insertion under multiple accounts
    
    core: fix rebase issues + docstring
    
    core: make benchmark test use sync:ed method
    
    * core: address review comments
    
    * core: add memreport to benchmark
    
    Co-authored-by: WeiLoy <[email protected]>
    2 people authored and gzliudan committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    ee35efd View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    71076fc View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    8f7a615 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    0ecc386 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    4a03722 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    4b9b50e View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    1e8fcd3 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    4faa463 View commit details
    Browse the repository at this point in the history
  63. eth/tracers/logger: remove unnecessary comparisons in accessList.equal (

    ethereum#24663)
    
    This change removes extraneous/unnecessary checks for equality
    when comparing 2 accessList values A and B. Given that we validate that
    their lengths of A and B are equal, if so and if every element in A is
    in B, reflexively every element in B is already in A. If that weren't
    the case and an element g existed in A but not in B, that would mean
    that there is an extra element and hence a mathematical contradiction.
    
    Fixes ethereum#24658
    Emmanuel T Odeke authored and gzliudan committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    5fbc3f6 View commit details
    Browse the repository at this point in the history
  64. core: fix the order of address in queue (ethereum#24908)

    reverse the order of address in queue
    zhaochonghe authored and gzliudan committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    4a047b8 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    63e1f7f View commit details
    Browse the repository at this point in the history
  66. core: fix typo in txpool (ethereum#25149)

    Fix typo in txPool truncateQueue comment
    aaronbuchwald authored and gzliudan committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    790ba2e View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    ea322f4 View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    c8c1c1b View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    b4605a1 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    0f168b9 View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    55293d6 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    886ceeb View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    83112e3 View commit details
    Browse the repository at this point in the history
  74. core: don't cache zero nonce in txNoncer (ethereum#25603)

    This changes the nonce cache used by TxPool to not store cached
    nonces for non-existing accounts.
    dbadoy authored and gzliudan committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    03becc4 View commit details
    Browse the repository at this point in the history
  75. core: fix datarace in txpool, fixes ethereum#25870 and ethereum#25869 (

    …ethereum#25872)
    
    core: fix datarace in txpool pendingnoce, fixes ethereum#25870
    holiman authored and gzliudan committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    a088512 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    f156ec5 View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    6e0199d View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    097bd66 View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    5c06bbe View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    076a177 View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    375ecc7 View commit details
    Browse the repository at this point in the history
  82. Configuration menu
    Copy the full SHA
    ec0c891 View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    93ad177 View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    cd91f1e View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    1155266 View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    bbf990f View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    a80ff45 View commit details
    Browse the repository at this point in the history
  88. ethclient: apply accessList field in toCallArg (ethereum#28832)

    Co-authored-by: Felix Lange <[email protected]>
    2 people authored and gzliudan committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    4552f24 View commit details
    Browse the repository at this point in the history
  89. Configuration menu
    Copy the full SHA
    5a11235 View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    349da7b View commit details
    Browse the repository at this point in the history
  91. eth/tracers,internal/ethapi: use correct baseFee when BlockOverrides …

    …is provided in call/traceCall (ethereum#29051)
    gzliudan committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    eb228c2 View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    19112ca View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    3ed3fd5 View commit details
    Browse the repository at this point in the history