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

[Design] Explore continuous automated RPC API schema verification #1475

Closed
13 tasks done
Nana-EC opened this issue Jul 8, 2023 · 0 comments · Fixed by #1621
Closed
13 tasks done

[Design] Explore continuous automated RPC API schema verification #1475

Nana-EC opened this issue Jul 8, 2023 · 0 comments · Fixed by #1621
Assignees
Labels
design Design, pilot and prototyping exploration work enhancement New feature or request Epic P2
Milestone

Comments

@Nana-EC
Copy link
Collaborator

Nana-EC commented Jul 8, 2023

Problem

The relay implements the Ethereum JSON RPC API 2.0 spec.
Occasionally changes are made externally or internally that may create differences and regressions in schema support.
The schema is clearly noted at execution-apis and can be found here https://github.com/ethereum/execution-apis

Solution

Add a script, which scout the execution-apis repo for the tests (can explore https://github.com/octokit/rest.js). Create a list from the folder names and go through each test, by sending a request to the relay using the schema described in the .io file. Add this to a workflow task, so that it should run at every pull request and report the result.

Alternatives

Explore https://github.com/ethereum/hive/tree/master/simulators/ethereum/rpc-compat which does this, but for clients.

Exploration

Exploration tasks

Preview Give feedback
@Nana-EC Nana-EC added enhancement New feature or request Epic P2 design Design, pilot and prototyping exploration work labels Jul 8, 2023
@Nana-EC Nana-EC added this to the 0.28.0 milestone Jul 8, 2023
@Nana-EC Nana-EC moved this to Sprint BackLog in Smart Contract Sprint Board Jul 8, 2023
@Nana-EC Nana-EC removed this from the 0.28.0 milestone Jul 21, 2023
@bibitibooo1 bibitibooo1 moved this from Sprint BackLog to 🎯 Alpha Backlog in Smart Contract Sprint Board Jul 28, 2023
@bibitibooo1 bibitibooo1 moved this from 🎯 Alpha Backlog to In Progress in Smart Contract Sprint Board Aug 3, 2023
@konstantinabl konstantinabl linked a pull request Aug 9, 2023 that will close this issue
2 tasks
@bibitibooo1 bibitibooo1 moved this from In Progress to In Review in Smart Contract Sprint Board Sep 8, 2023
@Nana-EC Nana-EC added this to the 0.32.0 milestone Sep 11, 2023
@github-project-automation github-project-automation bot moved this from In Review to Done in Smart Contract Sprint Board Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design, pilot and prototyping exploration work enhancement New feature or request Epic P2
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants