-
Notifications
You must be signed in to change notification settings - Fork 175
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 testing facilities for subscriptions #459
Conversation
Log more when params parsing fails
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
…rpsee into dp-debug-substrate-tests
utils/Cargo.toml
Outdated
# jsonrpsee-proc-macros = { path = "../proc-macros" } | ||
# jsonrpsee-types = { path = "../types" } | ||
# jsonrpsee-ws-server = { path = "../ws-server" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@niklasad1 Is this a known gotcha with the proc macro? I couldn't make the proc macro work without importing the full jsonrpsee
crate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah right, I see that's expected.
Can't you move this test to integration-tests/proc macros instead?
Testing subscriptions
Log more information to help test authors to debug params parsing issues.
Add a way to interact with subscriptions without spinning up a server.