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: Changes:
- Add known `intrablockEntropy` storage key - Add known `intrablockEntropy` storage key
- Add support for `SkipCheckIfFeeless` signed extension
- Drop support for Node 16 (EOL 11 Sep 2023) - Drop support for Node 16 (EOL 11 Sep 2023)
@@ -14,13 +14,15 @@ const CheckMortality: ExtInfo = {
} }
}; };
export const substrate: ExtDef = { const ChargeTransactionPayment: ExtInfo = {
ChargeTransactionPayment: { extrinsic: {
extrinsic: { tip: 'Compact<Balance>'
tip: 'Compact<Balance>'
},
payload: {}
}, },
payload: {}
};
export const substrate: ExtDef = {
ChargeTransactionPayment,
CheckBlockGasLimit: emptyCheck, CheckBlockGasLimit: emptyCheck,
CheckEra: CheckMortality, CheckEra: CheckMortality,
CheckGenesis: { CheckGenesis: {
@@ -57,5 +59,6 @@ export const substrate: ExtDef = {
}, },
CheckWeight: emptyCheck, CheckWeight: emptyCheck,
LockStakingStatus: emptyCheck, LockStakingStatus: emptyCheck,
SkipCheckIfFeeless: ChargeTransactionPayment,
ValidateEquivocationReport: emptyCheck ValidateEquivocationReport: emptyCheck
}; };