-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Implement Inactive balance tracking in Assets pallet #1747
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
58a50da
implemented `deactivate` and `reactivate`,
muraca 1167d68
fixed migrations
muraca ebdb21e
inactive computation in migration
muraca 8af1f39
feature try-runtime for migration test
muraca 632d1a8
fixed leak crate-private type
muraca 57ec30a
import Vec for migration v1
muraca 180d91b
addressed review comments
muraca ea52ad0
assert to ensure in migration post-upgrade
muraca 1b61d66
migration v1 doesn't depend on v2 anymore
muraca 4550656
migration v1 now supports pallet instance
muraca f69f85a
bump pallet version to v2
muraca ecea308
migration to v1 only checks on chain storage versions
muraca 7af51dd
renamed `VersionCheckedMigrateToV2` to `MigrateToV2` https://github.c…
muraca b0d6691
Merge branch 'master' into issue#228
muraca 889a898
Merge branch 'master' into issue#228
muraca 91ac946
inactive amount can't exceed supply
muraca c2b3f2b
prdoc for #1747
muraca 6c7a197
fixed fmt & clippy
muraca 6a436d2
Merge branch 'master' into issue#228
muraca 401a229
Merge branch 'master' into issue#228
muraca ce71499
Merge branch 'master' into issue#228
muraca 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
inactive amount can't exceed supply
Signed-off-by: Matteo Muraca <[email protected]>
- Loading branch information
commit 91ac946b0faad348f7574e4bfc504d3267dad135
There are no files selected for viewing
This file contains hidden or 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
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.
Seems this be a defensive check if the runtime is trying to set the inactive amt > total supply, probably indicates a bug?