Skip to content

Commit a51fed4

Browse files
authored
Bump metadata (#4867)
1 parent 4616865 commit a51fed4

File tree

17 files changed

+1494
-1661
lines changed

17 files changed

+1494
-1661
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Changes:
1111
- Use `compactFromU8aLim` & `u8aConcatStrict` variants
1212
- Adjust `.inspect()` for `ExtrinsicPayload`
1313
- Adjust Kusama `StakingLedger` for runtime 1051
14+
- Update to latest Substrate & Polkadot static metadata
1415

1516

1617
## 8.5.1 May 22, 2022

packages/api-augment/src/polkadot/consts.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { ApiTypes } from '@polkadot/api-base/types';
55
import type { Bytes, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
66
import type { Codec } from '@polkadot/types-codec/types';
77
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
8-
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
8+
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
99

1010
declare module '@polkadot/api-base/types/consts' {
1111
export interface AugmentedConsts<ApiType extends ApiTypes> {
@@ -653,10 +653,6 @@ declare module '@polkadot/api-base/types/consts' {
653653
[key: string]: Codec;
654654
};
655655
transactionPayment: {
656-
/**
657-
* The polynomial that is applied in order to derive fee from length.
658-
**/
659-
lengthToFee: Vec<FrameSupportWeightsWeightToFeeCoefficient> & AugmentedConst<ApiType>;
660656
/**
661657
* A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
662658
* `priority`
@@ -681,10 +677,6 @@ declare module '@polkadot/api-base/types/consts' {
681677
* transactions.
682678
**/
683679
operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;
684-
/**
685-
* The polynomial that is applied in order to derive fee from weight.
686-
**/
687-
weightToFee: Vec<FrameSupportWeightsWeightToFeeCoefficient> & AugmentedConst<ApiType>;
688680
/**
689681
* Generic const
690682
**/

packages/api-augment/src/substrate/consts.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { ApiTypes } from '@polkadot/api-base/types';
55
import type { Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
66
import type { Codec } from '@polkadot/types-codec/types';
77
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
8-
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
8+
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
99

1010
declare module '@polkadot/api-base/types/consts' {
1111
export interface AugmentedConsts<ApiType extends ApiTypes> {
@@ -947,10 +947,6 @@ declare module '@polkadot/api-base/types/consts' {
947947
[key: string]: Codec;
948948
};
949949
transactionPayment: {
950-
/**
951-
* The polynomial that is applied in order to derive fee from length.
952-
**/
953-
lengthToFee: Vec<FrameSupportWeightsWeightToFeeCoefficient> & AugmentedConst<ApiType>;
954950
/**
955951
* A fee mulitplier for `Operational` extrinsics to compute "virtual tip" to boost their
956952
* `priority`
@@ -975,10 +971,6 @@ declare module '@polkadot/api-base/types/consts' {
975971
* transactions.
976972
**/
977973
operationalFeeMultiplier: u8 & AugmentedConst<ApiType>;
978-
/**
979-
* The polynomial that is applied in order to derive fee from weight.
980-
**/
981-
weightToFee: Vec<FrameSupportWeightsWeightToFeeCoefficient> & AugmentedConst<ApiType>;
982974
/**
983975
* Generic const
984976
**/

packages/types-augment/src/lookup/kusama.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ export default {
1010
KusamaRuntimeProxyType: {
1111
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement', 'CancelProxy', 'Auction', 'Society']
1212
},
13+
/**
14+
* Lookup219: frame_support::weights::WeightToFeeCoefficient<Balance>
15+
**/
16+
FrameSupportWeightsWeightToFeeCoefficient: {
17+
coeffInteger: 'u128',
18+
coeffFrac: 'Perbill',
19+
negative: 'bool',
20+
degree: 'u8'
21+
},
1322
/**
1423
* Lookup260: kusama_runtime::SessionKeys
1524
**/

0 commit comments

Comments
 (0)