fix: ChargeAssetTxPayment to work with Asset Conversion on Westend's and Kusama's Asset Hubs (#5752)

* fix: added type override for AssetConversion

* fix: modified ChargeAssetTxPayment SE for AssetHub

* fixed ChargeAssetTxPayment for AssetConversion

* ran yarn lint

* added default type for AssetConversion

* added default type TAssetConversion

* ran yarn lint
This commit is contained in:
Alberto Nicolas Penayo
2023-11-16 09:26:21 +02:00
committed by GitHub
parent 7a8a4f1c64
commit bc81ca45ef
10 changed files with 165 additions and 11 deletions
@@ -7,6 +7,7 @@ import '@polkadot/types/types/registry';
import type { Data, StorageKey } from '@polkadot/types';
import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, ISize, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, isize, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { TAssetConversion } from '@polkadot/types/interfaces/assetConversion';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations';
import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';
@@ -1092,6 +1093,7 @@ declare module '@polkadot/types/types/registry' {
Tally: Tally;
TaskAddress: TaskAddress;
TAssetBalance: TAssetBalance;
TAssetConversion: TAssetConversion;
TAssetDepositBalance: TAssetDepositBalance;
Text: Text;
Timepoint: Timepoint;