This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Tvl pool staking #14775
Draft
PieWol
wants to merge
31
commits into
paritytech:master
Choose a base branch
from
PieWol:tvl-pool-staking
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Tvl pool staking #14775
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
f435c64
make it mostly work, still needs a bit more
kianenigma 8b4c90d
init
PieWol fdd0f52
total_balance updated
PieWol b80f63a
comments
PieWol 1461e0c
Merge remote-tracking branch 'origin/master' into tvl-pool-staking
PieWol 2e8027e
compiling rebase
PieWol 8c69fb8
slashed_total in OnStakingUpdate::on_slash
PieWol 6ead93a
nightly fmt
PieWol bcffd00
test fix
PieWol e936de8
remove irrelevant changes
PieWol 6116180
tvl checks on do_try_state
PieWol cb69b5c
tvl migration
PieWol 5a463c3
fix try_runtime
PieWol c332c0c
optimize migration
PieWol ec91ce2
VersionedRuntimeUpgrade
PieWol db59e96
removed unneccessary logs
PieWol 35027bc
comments improved
PieWol 5098b18
try_runtime total_balance rework
PieWol 2d7a7b1
total_balance simplified
PieWol 672909f
on_slash and do_try_state adjusted
PieWol 6aa682a
test for slash tracking without subpools
PieWol 53e99a0
test fixes and comments.
PieWol de98dd6
Merge branch 'paritytech:master' into tvl-pool-staking
PieWol 4db0054
points and tvl need to stay in check.
PieWol 4c0dece
undo accidental changes
PieWol db8f4af
Merge branch 'master' of github.com:paritytech/substrate into tvl-poo…
PieWol f0dc257
fix migration
PieWol ed63e99
poolmembers not relevant for TVL
PieWol 69e259e
helper function for staking withdrawal.
PieWol 605838c
Merge branch 'master' into tvl-pool-staking
PieWol 6402f1f
add tvl sanity check via member total_balance
PieWol 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
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.
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.
I hope nobody is us using nomination pools on parachains, but we should mention in the migration that it is using lots of weight and may not be suitable for parachains.
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.
Thanks for pointing it out. How do you think this mention should be done? Just a comment in the code?