1. 10 Jan, 2023 6 commits
  2. 09 Jan, 2023 3 commits
  3. 06 Jan, 2023 4 commits
  4. 03 Jan, 2023 11 commits
  5. 29 Dec, 2022 1 commit
  6. 28 Dec, 2022 2 commits
  7. 27 Dec, 2022 1 commit
  8. 21 Dec, 2022 1 commit
  9. 20 Dec, 2022 1 commit
    • Martin Holst Swende's avatar
      tests: update tests (#26314) · b818e73e
      Martin Holst Swende authored
      This PR builds on #26299, but also updates the tests to the most recent version, which includes tests regarding TheMerge.
      
      This change adds checks to the beacon consensus engine, making it more strict in validating the pre- and post-headers, and not relying on the caller to have already correctly sanitized the headers/blocks. 
      b818e73e
  10. 19 Dec, 2022 2 commits
    • rjl493456442's avatar
      core/rawdb: implement resettable freezer (#26324) · 79a478bb
      rjl493456442 authored
      This PR implements resettable freezer by adding a ResettableFreezer wrapper.
      
      The resettable freezer wraps the original freezer in a way that makes it possible to ensure atomic resets. Implementation wise, it relies on the os.Rename and os.RemoveAll to atomically delete the original freezer data and re-create a new one from scratch. 
      79a478bb
    • rjl493456442's avatar
      trie: wrap deletion in case trie.root is nil (#26365) · d3411b9f
      rjl493456442 authored
      This PR fixes an error in trie commit. If the trie.root is nil, it can be two possible scenarios:
      
      -  The trie was empty, and no change happens
      -  The trie was non-empty and all nodes are dropped
      
      For the latter one, we should collect the deletions and apply them into database(e.g. in PBSS).
      d3411b9f
  11. 15 Dec, 2022 1 commit
  12. 14 Dec, 2022 2 commits
  13. 13 Dec, 2022 3 commits
  14. 10 Dec, 2022 1 commit
  15. 09 Dec, 2022 1 commit
    • Felix Lange's avatar
      event: add FeedOf[T] (#26310) · 3775e198
      Felix Lange authored
      This PR adds a new type event.FeedOf[T], which is like event.Feed but parameterized
      over the channel element type. Performance is unchanged, and it still uses reflect. But
      unlike Feed, the generic version doesn't need to type-check interface{} arguments.
      All panic cases are gone from the API.
      3775e198