fungibles
methods should not consume AssetId
#3968
Labels
C1-mentor
A task where a mentor is available. Please indicate in the issue who the mentor could be.
C2-good-first-issue
A task for a first time contributor to become familiar with the Polkadot-SDK.
T1-FRAME
This PR/Issue is related to core FRAME, the framework.
Methods such as
polkadot-sdk/substrate/frame/support/src/traits/tokens/fungibles/regular.rs
Line 84 in cdacfb9
It was probably written this way back when AssetIds were small and implemented
Copy
, but that's no longer the case with the increasing usage of XCM Locations as AssetIds.All relevant
fungibles
methods should be updated, and unnecessary cloning of large types removed (e.g. in theasset-conversion
pallet).The text was updated successfully, but these errors were encountered: