-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[WIP][pallet-assets] add ForeignAssetIdExtractor to assets precompile #10869
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
base: master
Are you sure you want to change the base?
Conversation
This reverts commit dc1b49d.
|
/cmd prdoc --audience runtime_dev --bump minor |
…time_dev --bump minor'
…ch/polkadot-sdk into rve/8659-assets-precompile
|
Another general comment is that it needs more tests (easy to use Claude for writing tests fast). |
27ff790 to
06b9f65
Compare
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
done |
| Revive: pallet_revive = 60, | ||
|
|
||
| AssetRewards: pallet_asset_rewards = 61, | ||
| ForeignAssetsPrecompiles: pallet_assets_precompiles::pallet = 62, |
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.
| ForeignAssetsPrecompiles: pallet_assets_precompiles::pallet = 62, | |
| AssetsPrecompiles: pallet_assets_precompiles::pallet = 62, |
| asset_index, | ||
| )); | ||
|
|
||
| println!("asset_addr: {:?}", asset_addr); |
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.
use tracing or log instead of println even in tests
| println!("asset_addr: {:?}", asset_addr); | |
| tracing::info!("asset_addr: {:?}", asset_addr); |
fixes #8659
Adds ForeignAssetIdExtractor which converts a u32 asset id to an XCM Location type.