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

fix: rpc_methods return value #129

Merged
merged 3 commits into from
Feb 5, 2024
Merged

Conversation

josepot
Copy link
Contributor

@josepot josepot commented Feb 2, 2024

For reference: smol-dot/smoldot#1657

Basically what happened was that I implemented things on my end according to the spec, and things blowed up because smoldot was returning an object, rather than returning an Array (as per the spec definition). So, I opened a PR on smoldot to "fix the issue". However, it turns out that what's wrong is the spec, because this return value should stay compliant with the "legacy" API.

src/api/rpc_methods.md Outdated Show resolved Hide resolved
@josepot josepot requested a review from tomaka February 2, 2024 15:40
src/api/rpc_methods.md Outdated Show resolved Hide resolved
Co-authored-by: Pierre Krieger <[email protected]>
Copy link
Member

@niklasad1 niklasad1 left a comment

Choose a reason for hiding this comment

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

nice

@josepot
Copy link
Contributor Author

josepot commented Feb 5, 2024

Friendly reminder that I can no longer merge this 🙂

@jsdw jsdw merged commit 8803164 into paritytech:main Feb 5, 2024
3 checks passed
@josepot josepot deleted the fix/rpc-methods branch February 5, 2024 17:17
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.

5 participants