Skip to content

Commit

Permalink
CheckMetadataHash signed extension support (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
arjanz authored Jun 11, 2024
1 parent f57f65b commit 3130eef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scalecodec/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3130eef

Please sign in to comment.