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

RPC workload testing framework #31136

Closed
MariusVanDerWijden opened this issue Feb 6, 2025 · 3 comments
Closed

RPC workload testing framework #31136

MariusVanDerWijden opened this issue Feb 6, 2025 · 3 comments

Comments

@MariusVanDerWijden
Copy link
Member

New command workload that does a bunch of queries e.g.

  • make RPC calls
  • do log search
  • get blocks, headers, bodies, receipts, etc
@fjl
Copy link
Contributor

fjl commented Feb 6, 2025

What I had in mind here is a structure where we define tests for public networks and common things to do on them. The workload tests should support Sepolia and Mainnet.

Package internal/utesting can be used to implement the tests. We already use this for devp2p testing (see cmd/devp2p/internal/ethtest for example) and it works well.

@devlongs
Copy link

devlongs commented Feb 6, 2025

Hi @MariusVanDerWijden and @fjl,

I will like to contribute to this issue. My plan includes:

  • Implementing a new workload command in cmd/workload/main.go
  • Using internal/utesting to structure and execute tests
  • Performing workload tests such as:
    • RPC connection verification
    • Fetching latest blocks, headers, and receipts
    • Retrieving logs from recent blocks

@fjl
Copy link
Contributor

fjl commented Feb 27, 2025

We have an initial version of the tool in now, so I'm considering this done.

@fjl fjl closed this as completed Feb 27, 2025
@fjl fjl changed the title Workload testing framework RPC workload testing framework Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants