Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Spike asset registry + foreign fungibles integration test. The latter creates the foreign asset for usdc on pop, a contract receives usdc on Pop, the contract transfers usdc using the fungible api to a local pop account, and transfers the remaining usdc back to asset hub.
Showcase:
Notable changes made to the runtime to make this possible:
test_foreign_asset_creation
).@al3mart we want to add the following migration to mainnet and set the CallbackHandle (this for all runtimes). For testnet we can set the genesis like so.
Changes made to the asset manager pallet:
next_asset_id
logic it could prevent to create a foreign asset on pop.Next steps:
xcm_primitives
module in the pallet is in moonbeams implementation a separate crate. This has been spiked as fast as possible so the implementor will have to look how we should best implement the pallet.