Cater for latest Substrate DispatchError (additional preimage statuses)
Adjust api.derive.democracy.* to return imageHash as HexString (as applicable, supports current-gen preimages)
Adjust api.derive.preimages.* to retrieve via democracy or preimage pallets
Ensure apiAt.<section>.<method>.key(...) passes through the correct arguments
Apply fallback for Weight downgrades (V2 >> V1 detection)
Update to latest Substrate metadata
Polkadot 9291 & Westend 9300 upgrade blocks
v9.5.2
Changes:
Add ParachainHost version 3 runtime calls
v9.5.1
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 old u64 variant. This means that on new chains using WeightV2, 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
Cater for latest Substrate DispatchError (additional preimage statuses)
Adjust api.derive.democracy.* to return imageHash as HexString (as applicable, supports current-gen preimages)
Adjust api.derive.preimages.* to retrieve via democracy or preimage pallets
Ensure apiAt.<section>.<method>.key(...) passes through the correct arguments
Apply fallback for Weight downgrades (V2 >> V1 detection)
Update to latest Substrate metadata
Polkadot 9291 & Westend 9300 upgrade blocks
9.5.2 Oct 16, 2022
Changes:
Add ParachainHost version 3 runtime calls
9.5.1 Oct 8, 2022
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 old u64 variant. This means that on new chains using WeightV2, 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
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @polkadot/api from 9.4.2 to 9.6.2.
Release notes
Sourced from
@polkadot/api
's releases.Changelog
Sourced from
@polkadot/api
's changelog.... (truncated)
Commits
0da2c25
[CI Skip] release/stable 9.6.22f0036e
9.6.2 (#5304)bf4cff1
[CI Skip] bump/beta 9.6.2-0-x0caae6b
[CI Skip] release/stable 9.6.17f92bb3
9.6.1 (#5289)20b39c1
[CI Skip] bump/beta 9.5.3-9-x8880785
[CI Skip] bump/beta 9.5.3-8-xe1cf752
[CI Skip] bump/beta 9.5.3-7-xbe95356
Ensure apiAt.<section>.<method>.key(...) passes through the correct arguments...b66d625
[CI Skip] bump/beta 9.5.3-6-xDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)