From a8eb70f6f35da9561baf1cbec178f9ba133dff13 Mon Sep 17 00:00:00 2001 From: Arjan Zijderveld <5286904+arjanz@users.noreply.github.com> Date: Tue, 11 Jun 2024 16:40:43 +0200 Subject: [PATCH] CheckMetadataHash signed extension support --- scalecodec/types.py | 3 +++ 1 file changed, 3 insertions(+) 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)