1. 15 Jul, 2022 1 commit
    • Lee Bousfield's avatar
      core: prevent negative fee during RPC calls (#25214) · 1c9afc56
      Lee Bousfield authored
      During RPC calls such as eth_call and eth_estimateGas, st.evm.Config.NoBaseFee is set
      which allows the gas price to be below the base fee. This results the tip being negative,
      and balance being subtracted from the coinbase instead of added to it, which results in a
      potentially negative coinbase balance interestingly. This can't happen during normal chain
      processing as outside of RPC calls the gas price is required to be at least the base fee,
      as NoBaseFee is false.
      
      This change prevents this behavior by disabling fee payment when the fee is not set.
      Co-authored-by: 's avatarlightclient@protonmail.com <lightclient@protonmail.com>
      Co-authored-by: 's avatarFelix Lange <fjl@twurst.com>
      1c9afc56
  2. 14 Jul, 2022 6 commits
  3. 12 Jul, 2022 7 commits
  4. 11 Jul, 2022 1 commit
  5. 10 Jul, 2022 1 commit
  6. 08 Jul, 2022 1 commit
  7. 07 Jul, 2022 1 commit
  8. 06 Jul, 2022 2 commits
  9. 05 Jul, 2022 5 commits
  10. 04 Jul, 2022 7 commits
  11. 01 Jul, 2022 1 commit
  12. 30 Jun, 2022 2 commits
  13. 29 Jun, 2022 5 commits