-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
C1-mentorA task where a mentor is available. Please indicate in the issue who the mentor could be.A task where a mentor is available. Please indicate in the issue who the mentor could be.C2-good-first-issueA task for a first time contributor to become familiar with the Polkadot-SDK.A task for a first time contributor to become familiar with the Polkadot-SDK.T1-FRAMEThis PR/Issue is related to core FRAME, the framework.This PR/Issue is related to core FRAME, the framework.
Description
Methods such as
| fn balance(asset: Self::AssetId, who: &AccountId) -> Self::Balance; |
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 the asset-conversion pallet).
bkontur, georgepisaltu, seadanda and franciscoaguirre
Metadata
Metadata
Assignees
Labels
C1-mentorA task where a mentor is available. Please indicate in the issue who the mentor could be.A task where a mentor is available. Please indicate in the issue who the mentor could be.C2-good-first-issueA task for a first time contributor to become familiar with the Polkadot-SDK.A task for a first time contributor to become familiar with the Polkadot-SDK.T1-FRAMEThis PR/Issue is related to core FRAME, the framework.This PR/Issue is related to core FRAME, the framework.