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 incorrect parsing of optional JSON RPC params #1703

Merged
merged 4 commits into from
Jul 31, 2023

Conversation

Harrm
Copy link
Contributor

@Harrm Harrm commented Jul 18, 2023

Referenced issues

closes #1689

Description of the Change

None params were regarded as an error in some places, where the parameter is optional, and thus can be None.

Benefits

Kagome processes such requests correctly.

Possible Drawbacks

None expected.

@Harrm Harrm marked this pull request as ready for review July 19, 2023 21:49
@Harrm Harrm requested review from iceseer and xDimon July 20, 2023 08:07
@Harrm Harrm merged commit 56f5d04 into master Jul 31, 2023
@Harrm Harrm deleted the feature/pysubstrate-interface-none-arg-fix branch July 31, 2023 08:49
Harrm added a commit that referenced this pull request Aug 29, 2023
Co-authored-by: Igor Egorov <igor@soramitsu.co.jp>
Harrm added a commit that referenced this pull request Aug 29, 2023
Co-authored-by: Igor Egorov <igor@soramitsu.co.jp>
Harrm added a commit that referenced this pull request Aug 29, 2023
* Fix incorrect parsing of optional JSON RPC params (#1703)

Co-authored-by: Igor Egorov <igor@soramitsu.co.jp>

---------

Co-authored-by: Igor Egorov <igor@soramitsu.co.jp>
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.

Py-substrate-interface: state_call error
3 participants