Skip to content

Commit ec1f6ca

Browse files
authored
Add SkipCheckIfFeeless signed extension (#5756)
1 parent dcca12b commit ec1f6ca

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Contributed:
1010
Changes:
1111

1212
- Add known `intrablockEntropy` storage key
13+
- Add support for `SkipCheckIfFeeless` signed extension
1314
- Drop support for Node 16 (EOL 11 Sep 2023)
1415

1516

packages/types/src/extrinsic/signedExtensions/substrate.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ const CheckMortality: ExtInfo = {
1414
}
1515
};
1616

17-
export const substrate: ExtDef = {
18-
ChargeTransactionPayment: {
19-
extrinsic: {
20-
tip: 'Compact<Balance>'
21-
},
22-
payload: {}
17+
const ChargeTransactionPayment: ExtInfo = {
18+
extrinsic: {
19+
tip: 'Compact<Balance>'
2320
},
21+
payload: {}
22+
};
23+
24+
export const substrate: ExtDef = {
25+
ChargeTransactionPayment,
2426
CheckBlockGasLimit: emptyCheck,
2527
CheckEra: CheckMortality,
2628
CheckGenesis: {
@@ -57,5 +59,6 @@ export const substrate: ExtDef = {
5759
},
5860
CheckWeight: emptyCheck,
5961
LockStakingStatus: emptyCheck,
62+
SkipCheckIfFeeless: ChargeTransactionPayment,
6063
ValidateEquivocationReport: emptyCheck
6164
};

0 commit comments

Comments
 (0)