1. 10 Sep, 2022 1 commit
    • Felix Lange's avatar
      build: upgrade to go 1.19 (#25726) · b628d727
      Felix Lange authored
      This changes the CI / release builds to use the latest Go version. It also
      upgrades golangci-lint to a newer version compatible with Go 1.19.
      
      In Go 1.19, godoc has gained official support for links and lists. The
      syntax for code blocks in doc comments has changed and now requires a
      leading tab character. gofmt adapts comments to the new syntax
      automatically, so there are a lot of comment re-formatting changes in this
      PR. We need to apply the new format in order to pass the CI lint stage with
      Go 1.19.
      
      With the linter upgrade, I have decided to disable 'gosec' - it produces
      too many false-positive warnings. The 'deadcode' and 'varcheck' linters
      have also been removed because golangci-lint warns about them being
      unmaintained. 'unused' provides similar coverage and we already have it
      enabled, so we don't lose much with this change.
      b628d727
  2. 09 Sep, 2022 4 commits
  3. 08 Sep, 2022 2 commits
  4. 07 Sep, 2022 5 commits
  5. 06 Sep, 2022 2 commits
  6. 05 Sep, 2022 1 commit
  7. 02 Sep, 2022 8 commits
  8. 01 Sep, 2022 3 commits
  9. 31 Aug, 2022 7 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
    • Martin Holst Swende's avatar
    • 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
  10. 30 Aug, 2022 7 commits