-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
393 use fee per second from asset metadata in xcm config #432
393 use fee per second from asset metadata in xcm config #432
Conversation
… to blocks, generate weights
…extends-our-current-treasury-pallet-with-buyout-feature
…g' of github.com:pendulum-chain/pendulum into 393-use-fee_per_second-from-asset-metadata-in-xcm-config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall a good change but I think we should simplify some of the types – I made some proposals in my comments.
… conversion before fetching metadata
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. |
The Foucoco |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This turned out really nice now. Great job!
Let's merge and roll it out on Foucoco today? |
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
MultiLocation
<>CurrencyId
. Currently, we are still using the hard-coded logic that manually maps these two but we also want to use the asset registry for this so no further runtime upgrades are needed for adding assets. Thus, we should change the conversion function similar to what is done here.Closes #393.