Add SkipCheckIfFeeless signed extension (#5756)

This commit is contained in:
Jaco
2023-11-18 08:48:42 +02:00
committed by GitHub
parent dcca12bc23
commit ec1f6ca5f5
2 changed files with 10 additions and 6 deletions
+1
View File
@@ -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)
@@ -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: {
@@ -57,5 +59,6 @@ export const substrate: ExtDef = {
},
CheckWeight: emptyCheck,
LockStakingStatus: emptyCheck,
SkipCheckIfFeeless: ChargeTransactionPayment,
ValidateEquivocationReport: emptyCheck
};