-
Notifications
You must be signed in to change notification settings - Fork 684
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
Asset Conversion: Pool Account ID derivation with additional Pallet ID seed #3250
Merged
Merged
Changes from 14 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
21d1df4
account id converter with pallet id salt
muharem ebbad9f
migration for pool account
muharem 1e2a925
refund trait and impl
muharem a45b298
drop super trait for reset team trait
muharem d8f7b4e
account id types
muharem 1d30b89
fungibles
muharem cb3b79d
migration
muharem 9f2c71a
setup migration for asset hubs
muharem f9a0edc
doc fixes
muharem 61245e3
Merge remote-tracking branch 'origin/master' into muharem-asset-conve…
muharem 6fce4bf
prdoc
muharem 2321031
try runtime imports
muharem 3d3e5b3
change account id format for logs
muharem ff19ff1
import
muharem 4dd4334
rename deposit fn to deposit_held
muharem 3537f90
migration adjustments
muharem 0eee02e
migration asserts reduce to zero instead success
muharem 11e3004
correct doc
muharem 03363c8
balance for destroying asset cannot be increased/decreased
muharem 58f0a66
migration
muharem d14b412
make migration idempotent
muharem 10713ad
Merge branch 'master' into muharem-asset-conversion-pool-account
muharem 979ae0c
asset conversion ops pallet
muharem 3be3789
Revert "balance for destroying asset cannot be increased/decreased"
muharem f3ea112
Merge remote-tracking branch 'origin/master' into muharem-asset-conve…
muharem 086198c
todos and unused import
muharem 0e12b1f
clippy fix: remove clone
muharem 6deee7f
format fixes
muharem c21ca3b
Merge branch 'master' into muharem-asset-conversion-pool-account
muharem 4d4db89
Merge remote-tracking branch 'origin/master' into muharem-asset-conve…
muharem 02a38f0
review fixes
muharem 66b7573
test
muharem 30b9a39
transfer total balance
muharem 5f65481
Merge remote-tracking branch 'origin/master' into muharem-asset-conve…
muharem 414205c
review fixes
muharem 9f3acde
style fixes
muharem 4300625
Merge remote-tracking branch 'origin/master' into muharem-asset-conve…
muharem 4f2b973
Merge branch 'master' into muharem-asset-conversion-pool-account
muharem 05e639d
Merge branch 'master' into muharem-asset-conversion-pool-account
muharem c8cda18
Merge remote-tracking branch 'origin/master' into muharem-asset-conve…
muharem b756f5f
folder for weights
muharem 71c09ee
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
41b9f9e
weights
muharem 8ce6f7c
update reset team trait
muharem 9247584
update refund trait
muharem 6915afe
remove unused imports
muharem 7398696
Revert "update refund trait"
muharem 7bfd1ff
Revert "remove unused imports"
muharem 7a579a9
update doc
muharem fba27bf
update pr doc and use default configs for pallets in test env
muharem 82b0aca
update docs
muharem 496e2d7
move reset team trait to roles module
muharem File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0 | ||
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json | ||
|
||
title: "Asset Conversion: Pool Account ID derivation with additional Pallet ID seed" | ||
|
||
doc: | ||
- audience: Runtime Dev | ||
description: | | ||
Introduce PalletId as an additional seed parameter for pool's account id derivation. | ||
The PR also introduces the fungibles::lifetime::ResetTeam and fungible::lifetime::Refund traits, | ||
which facilitate the migration of pools to the new account IDs. | ||
|
||
crates: | ||
- name: pallet-asset-conversion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Shouldn't you mention the migration?
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.
Yes, I can improve this
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.
Updated