1. 01 Sep, 2022 1 commit
  2. 31 Aug, 2022 6 commits
    • Marius van der Wijden's avatar
      eth/catalyst: prevent division by zero (#25654) · 95a2c221
      Marius van der Wijden authored
      eth/catalyst: prevent diff by zero
      95a2c221
    • rjl493456442's avatar
      trie: cleanup stateTrie (#25640) · 3f79afb5
      rjl493456442 authored
      It's a trivial PR to hide the error log when the trie node is not found in the database. The idea for this change is for all TryXXX functions, the error is already returned and we don't need to fire a log explicitly.
      
      Recently there are a few tickets #25613 #25589 reporting that the trie nodes are missing because of debug.SetHead. The root cause is after resetting, the chain rewinds to a historical point and re-imports the blocks on top.
      
      Since the node is already synced and started to accept transactions previously, these transactions are still kept in the txpool and verified by txpool with a live state. This live state is constructed based on the live trie database, which is changed fast by node referencing and de-referencing.
      
      Unfortunately, when we construct a live state(like the state in txpool), we don't reference the state we have. The blockchain will garbage collect the intermediate version nodes in another thread which leads the broken live state.
      
      The best solution for this is to forcibly obtain a reference for all live states we create and call release function once it's used up. But it might end up with more junks persisted into disk. Will try to find an elegant solution later in the following PR.
      3f79afb5
    • aaronbuchwald's avatar
      trie: fix grammar in comment (#25648) · 3d68bb03
      aaronbuchwald authored
      3d68bb03
    • Sina Mahmoodi's avatar
      graphql: return correct logs for tx (#25612) · 8cfcb41e
      Sina Mahmoodi authored
      * graphql: fix tx logs
      
      * minor
      
      * Use optimized search for selecting tx logs
      8cfcb41e
    • Jakub Freebit's avatar
      mobile: close node on error (#25643) · 279afd79
      Jakub Freebit authored
      279afd79
    • Martin Holst Swende's avatar
      eth/catalyst: adjust eta for themerge (#25601) · 362256eb
      Martin Holst Swende authored
      * eth/catalyst: adjust eta for themerge
      
      * squash
      
      * squash
      
      * eth/catalyst: address review concerns
      362256eb
  3. 30 Aug, 2022 7 commits
  4. 29 Aug, 2022 1 commit
  5. 25 Aug, 2022 3 commits
  6. 24 Aug, 2022 2 commits
  7. 23 Aug, 2022 5 commits
  8. 22 Aug, 2022 4 commits
  9. 19 Aug, 2022 10 commits
  10. 18 Aug, 2022 1 commit
    • rjl493456442's avatar
      trie: improve node rlp decoding performance (#25357) · a1b88923
      rjl493456442 authored
      This avoids copying the input []byte while decoding trie nodes. In most
      cases, particularly when the input slice is provided by the underlying
      database, this optimization is safe to use.
      
      For cases where the origin of the input slice is unclear, the copying version
      is retained. The new code performs better even when the input must be
      copied, because it is now only copied once in decodeNode.
      a1b88923