Files
pezkuwi-subxt/substrate/primitives
Bastian Köcher ec6a428ade payment_queryInfo: Make it work with WeightV2 (#12633)
* `payment_queryInfo`: Make it work with `WeighV2`

The runtime api for querying the payment info depends on the `Weight` type and broke for old
runtimes that still use the `WeighV1`. This pull requests fixes this by:

1. Bumping the version of the runtime api.
2. Making the node side code use the correct runtime api function depending on the version of the
runtime api.
3. Make the RPC always return `WeighV1`.

Users of the api should switch to `state_call` and decide based on the version of the runtime api
which `Weight` type is being returned.

* Fix tests

* Review comment
2022-11-08 11:33:43 +01:00
..
2022-10-05 21:07:15 +00:00
2022-10-05 21:07:15 +00:00
2022-09-14 16:31:58 +00:00
2022-09-14 16:31:58 +00:00
2022-05-04 13:38:54 +00:00
2022-05-04 13:38:54 +00:00
2022-10-05 21:07:15 +00:00
2022-10-05 21:07:15 +00:00