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

get_payment_info() breaks because of RPC always returning WeightV1 #264

Closed
arjanz opened this issue Nov 10, 2022 · 0 comments · Fixed by #265
Closed

get_payment_info() breaks because of RPC always returning WeightV1 #264

arjanz opened this issue Nov 10, 2022 · 0 comments · Fixed by #265

Comments

@arjanz
Copy link
Member

arjanz commented Nov 10, 2022

payment_queryInfo used to return the WeightV1 or WeightV2 type, depending on the runtime, which could as is be SCALE encoded regardless of being a Struct or u64. Now it has to be checked and modified to Struct if necessary.

paritytech/substrate#12633

@arjanz arjanz changed the title get_payment_info() breaks because of reverting back to u64 get_payment_info() breaks because of RPC always returning WeightV1 Nov 10, 2022
@arjanz arjanz linked a pull request Nov 10, 2022 that will close this issue
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 a pull request may close this issue.

1 participant