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

feat(net): test syncing from geth #623

Merged
merged 27 commits into from
Jan 31, 2023
Merged

feat(net): test syncing from geth #623

merged 27 commits into from
Jan 31, 2023

Commits on Jan 30, 2023

  1. feat(tests): add geth interop integration tests

     * add CliqueGethBuilder and CliqueGethInstance for configuring a geth
       instance with Clique consensus, enabling clique block production, and
       funding accounts at genesis
     * add RethTestInstance and an associated builder which are used to
       configure reth and start its pipeline for tests
     * pull StageConfig from the reth cli - this is duplication and might be
       worth moving
     * add a test for generating clique blocks with geth, adding geth as an
       outbound peer from reth, and starting the reth pipeline to sync
    Rjected committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    cacb064 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    705ac1e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cc497fe View commit details
    Browse the repository at this point in the history
  4. use chainspec to initialize network

     * this change and #939 should fix an issue where the fork filter and
       status were set incorrectly, causing a premature disconnect
    Rjected committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    68f5fc7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8e464f7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    588b030 View commit details
    Browse the repository at this point in the history
  7. tell the pipeline to stop when it's done

     * the tests properly sync
    Rjected committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    9299a4e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    67b1b38 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0bb5a81 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    89d07d8 View commit details
    Browse the repository at this point in the history
  11. correct reth builder comment

    Rjected committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    54522bd View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    caa053f View commit details
    Browse the repository at this point in the history
  13. integrate sync tests in staged-sync crate

     * introduce an extension trait to simplify the use of providers in sync
       tests
     * add test-utils feature in staged-sync
    Rjected committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    c7c5017 View commit details
    Browse the repository at this point in the history
  14. remove tests crate

    Rjected committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    b0c9765 View commit details
    Browse the repository at this point in the history
  15. use a result in enable_mining

    Rjected committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    d50660b View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    ca770fd View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    75e4ff3 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    359c9b4 View commit details
    Browse the repository at this point in the history
  19. update ethers

    Rjected committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    ebada9a View commit details
    Browse the repository at this point in the history
  20. revert forkkind change

    Rjected committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    d4881bc View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    50dc5d2 View commit details
    Browse the repository at this point in the history
  22. fix doctests

    Rjected committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    3e56757 View commit details
    Browse the repository at this point in the history
  23. add no_run to clique doctest

    Rjected committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    eea9265 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

  1. Configuration menu
    Copy the full SHA
    eec3449 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e6b4844 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    96bcea0 View commit details
    Browse the repository at this point in the history
  4. chore: fix doctest

    gakonst committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    2c3f45e View commit details
    Browse the repository at this point in the history