- Important While the API witll detect and decorate the weight type based on V1 or V2, the default
Weight
type (used in runtime calls and RPCs) has not been swapped from the oldu64
variant. This means that on new chains usingWeightV2
, the TS decorated type will still reflect the old version.
Changes:
- Adjust handling of
Weight
type for V2 structures - Add alis definitions for
Weight{V1, V2}
(used for type overrides) - Cater for weight v2 (along with v1 pass-through) extrinsics in
api-contract
- Update to latest Substrate, Polkadot & Kusama metadata