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

node: add test for the discovery endpoint to validate OpenRPC compliance #295

Merged
merged 6 commits into from
Jan 14, 2021

Conversation

ziogaschr
Copy link
Member

@ziogaschr ziogaschr commented Jan 12, 2021

Rel #15

I used https://github.com/xeipuuv/gojsonschema as I haven't found another similar package used already in geth.

@ziogaschr ziogaschr requested a review from meowsbits January 12, 2021 18:11
node/node_test.go Outdated Show resolved Hide resolved
node/node_test.go Outdated Show resolved Hide resolved
@ziogaschr
Copy link
Member Author

@meowsbits please have a review of this d0dae58 and let's merge it

@meowsbits meowsbits self-requested a review January 14, 2021 14:14
Copy link
Contributor

@meowsbits meowsbits left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ziogaschr
Copy link
Member Author

I will merge it. Can you please add this @meowsbits?

COREGETH_OPENRPC_LATEST_SPEC_ENDPOINT=https://github.com/open-rpc/meta-schema/releases/latest/download/open-rpc-meta-schema.json

@ziogaschr ziogaschr merged commit adcd3eb into master Jan 14, 2021
@ziogaschr ziogaschr deleted the feat/test-discovery-openrpc-compliance branch January 14, 2021 17:50
@meowsbits meowsbits mentioned this pull request Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants