zeitgeistpm/zeitgeist

[Asset-Router] Detect unsupported assets at compile time

sea212 opened this issue · 0 comments

sea212 commented

The goal of this issue is to improve the asset-router, such that trying to reserve or lock unsupported assets will result in a compilation error.

Currently the asset-router does check whether an asset supports reserves and locks during execution. This is a bad practice, as pallet which utilize the asset-router pallet don't know if the assets they are planning to reserve or lock support it at all.