Closed wangminqi closed 1 year ago
An small fix is needed for our front to latest interface. In the past we use
pub fn transfer( origin: OriginFor<T>, currency_id: T::CurrencyId, amount: T::Balance, dest: Box<VersionedMultiLocation>, dest_weight: Weight, )
where dest_weight is just a number we preset up. Now the latest version become
pub fn transfer( origin: OriginFor<T>, currency_id: T::CurrencyId, amount: T::Balance, dest: Box<VersionedMultiLocation>, dest_weight: WeightLimit, )
where WeightLimit for us should be WeightLimit::Limited(preset number). Just an extra layer of parameter due to struct change. Nothing else change. details here. https://www.notion.so/web3builders/Parachain-XCM-front_end-document-2023-1-13-fd9ce99ee2624678bb7e37e63a54fd79
An small fix is needed for our front to latest interface. In the past we use
where dest_weight is just a number we preset up. Now the latest version become
where WeightLimit for us should be WeightLimit::Limited(preset number). Just an extra layer of parameter due to struct change. Nothing else change. details here. https://www.notion.so/web3builders/Parachain-XCM-front_end-document-2023-1-13-fd9ce99ee2624678bb7e37e63a54fd79