pendulum-chain / pendulum

GNU General Public License v3.0
43 stars 14 forks source link

393 use fee per second from asset metadata in xcm config #432

Closed ebma closed 3 months ago

ebma commented 3 months ago

This PR adds changes that were reverted before. The original PR is #410.

We only want to merge this after the dependency upgrade to v0.9.42 is merged and released.

TODO

Closes #393.

gianfra-t commented 3 months ago

Last commit updated and simplified the implementation now. I will leave a brief description since the conversation is now too long.

We now don't modify at all the location before trying to convert nor we convert while getting the fee per second. This is all possible because now we use the local PoV for our assets in the asset registry (example in the mock). xTokens::tansfer_multiasset now works with the local PoV (Thanks @TorstenStueber for figuring that out)

TorstenStueber commented 3 months ago

The Foucoco SelfLocation is still (parents: 1, Parachain(...)), can you change that please?

ebma commented 3 months ago

Let's merge and roll it out on Foucoco today?