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.
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 6.8.1 to 9.7.1.
Release notes
Sourced from
@polkadot/api
's releases.... (truncated)
Changelog
Sourced from
@polkadot/api
's changelog.... (truncated)
Commits
5c81e4f
[CI Skip] release/stable 9.7.127d21ce
9.7.1 (#5320)417e460
[CI Skip] bump/beta 9.6.3-7-xa059298
[CI Skip] bump/beta 9.6.3-6-xd9aa61c
Add isClonable getter on providers (#5317)8883d35
[CI Skip] bump/beta 9.6.3-5-x482471b
[CI Skip] bump/beta 9.6.3-4-xa73603c
[CI Skip] bump/beta 9.6.3-3-x1744544
Bump metadata (#5310)408de16
[CI Skip] bump/beta 9.6.3-2-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)