Skip to content

Commit

Permalink
Add SkipCheckIfFeeless signed extension (#5756)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr authored Nov 18, 2023
1 parent dcca12b commit ec1f6ca
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Contributed:
Changes:

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


Expand Down
15 changes: 9 additions & 6 deletions packages/types/src/extrinsic/signedExtensions/substrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ const CheckMortality: ExtInfo = {
}
};

export const substrate: ExtDef = {
ChargeTransactionPayment: {
extrinsic: {
tip: 'Compact<Balance>'
},
payload: {}
const ChargeTransactionPayment: ExtInfo = {
extrinsic: {
tip: 'Compact<Balance>'
},
payload: {}
};

export const substrate: ExtDef = {
ChargeTransactionPayment,
CheckBlockGasLimit: emptyCheck,
CheckEra: CheckMortality,
CheckGenesis: {
Expand Down Expand Up @@ -57,5 +59,6 @@ export const substrate: ExtDef = {
},
CheckWeight: emptyCheck,
LockStakingStatus: emptyCheck,
SkipCheckIfFeeless: ChargeTransactionPayment,
ValidateEquivocationReport: emptyCheck
};

0 comments on commit ec1f6ca

Please sign in to comment.