paritytech / asset-transfer-api

Typescript API aiming to provide clear, and simple to use tools for transferring assets across common good parachains.
Apache License 2.0
44 stars 11 forks source link

fix: Update `paysWithFeeOrigin` examples and errors #420

Closed marshacb closed 4 months ago

marshacb commented 4 months ago

Changes

This PR removes legacy functionality which allowed for sufficient assets to be used with the paysWithFeeOrigin option. Now only valid asset locations, symbols or integer IDs are able to be passed into paysWithFeeOrigin. Non unique and invalid values will throw an error.

closes: #419