diff --git a/scalecodec/types.py b/scalecodec/types.py index e50b10b..0415867 100644 --- a/scalecodec/types.py +++ b/scalecodec/types.py @@ -2976,6 +2976,9 @@ def __init__(self, *args, **kwargs): if 'ChargeAssetTxPayment' in signed_extensions: self.type_mapping.append(['asset_id', signed_extensions['ChargeAssetTxPayment']['extrinsic']]) + if 'CheckMetadataHash' in signed_extensions: + self.type_mapping.append(['mode', signed_extensions['CheckMetadataHash']['extrinsic']]) + self.type_mapping.append(['call', 'Call']) super().__init__(*args, **kwargs)