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

add rpc method return type checks in unit tests #8677

Merged
merged 3 commits into from
Oct 7, 2024

Conversation

mehdi-aouadi
Copy link
Contributor

@mehdi-aouadi mehdi-aouadi commented Oct 4, 2024

PR Description

Add execution engine method return types checks.
This ensures that the return type is the expected one and not only that response future completes.

Fixed Issue(s)

fixes #8672

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

@mehdi-aouadi mehdi-aouadi marked this pull request as ready for review October 4, 2024 14:57
@mehdi-aouadi mehdi-aouadi self-assigned this Oct 4, 2024
Copy link
Contributor

@tbenr tbenr left a comment

Choose a reason for hiding this comment

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

LGTM

@mehdi-aouadi mehdi-aouadi enabled auto-merge (squash) October 7, 2024 13:08
@mehdi-aouadi mehdi-aouadi merged commit dca8285 into Consensys:master Oct 7, 2024
17 checks passed
@mehdi-aouadi mehdi-aouadi deleted the 8672-rpc-return-types branch October 7, 2024 14:12
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

Successfully merging this pull request may close these issues.

Enforce EL RPC method types in the RPC method resolver
2 participants