-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Staking] Use active era and not current era for bonding logic #8807
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
Open
Ank4n
wants to merge
61
commits into
master
Choose a base branch
from
ankn/current-era-refactor
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.
Open
Changes from 57 commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
960e322
cap era duration, needs more tests.
Ank4n 5d3d02a
impl min bond
Ank4n 8cc3d3b
Merge branch 'master' into ankn/bounded-era-reward
Ank4n c47f127
doc fix
Ank4n 873333a
fix min bond chec
Ank4n 1381a78
fmt
Ank4n 80479ff
Merge branch 'master' into ankn/bounded-era-reward
Ank4n fc8f315
Merge branch 'master' into ankn/bounded-era-reward
Ank4n 3455016
use AHStakingInterface to rotate session
Ank4n 35bd423
fmt
Ank4n b1e5247
wip: failing test missing events
Ank4n 971de13
cap era duration test
Ank4n 5f0aed8
refactor to handle incorrect activation stamp
Ank4n 36448f9
fix force always era rotation issue
Ank4n 2d7e2a2
fmt
Ank4n 44d6164
minor
Ank4n d377884
no full unbond needed yet
Ank4n 6650ad1
Merge branch 'master' into ankn/bounded-era-reward
Ank4n 31c5c85
fmt
Ank4n 8c7c840
add era duration in non default runtimes
Ank4n 84ec94b
Update from github-actions[bot] running command 'prdoc --audience run…
github-actions[bot] 77615b5
Merge branch 'master' into ankn/bounded-era-reward
Ank4n 0a3723f
Update from github-actions[bot] running command 'fmt'
github-actions[bot] 81ee0ae
PR feedback
Ank4n 422d7b3
compiles
Ank4n 277fc16
make planned_era private
Ank4n f3a6d23
don't use CurrentEra outside rotator
Ank4n 158f9ff
some more removals
Ank4n 821167a
Merge branch 'master' into ankn/current-era-refactor
Ank4n f16859d
fmt
Ank4n 3c80523
Merge branch 'master' into ankn/current-era-refactor
Ank4n 971b25d
rename set current era to set active era
Ank4n 18f0bed
staking async looks good
Ank4n 406b35b
fmt
Ank4n 7d4a70a
use active era in pools
Ank4n 5a46b99
hunting and killing more CurrentEras
Ank4n 83ad245
fix tests
Ank4n a532171
fmt
Ank4n 1fc30ff
fix try state
Ank4n 57b41ad
fix ahm test
Ank4n 91486cc
fix missing fn
Ank4n e002b13
fix fast unstake
Ank4n 89e08ec
fmt
Ank4n 329ca65
fix pools
Ank4n cdb3050
fix test delegate stake
Ank4n a4f1cd2
fmt
Ank4n e400b1f
fix rustdoc
Ank4n 34f97d3
Merge branch 'master' into ankn/current-era-refactor
nkpar 7d13bca
Merge branch 'master' into ankn/current-era-refactor
sigurpol f2235a0
Merge branch 'master' into ankn/current-era-refactor
sigurpol ea83e16
Merge branch 'master' into ankn/current-era-refactor
Ank4n 44b1fab
Merge branch 'master' into ankn/current-era-refactor
sigurpol a5a05b1
Merge branch 'master' into ankn/current-era-refactor
sigurpol 7bd882d
Merge branch 'master' into ankn/current-era-refactor
Ank4n 44e0520
Merge branch 'master' into ankn/current-era-refactor
Ank4n 57da741
Merge branch 'master' into ankn/current-era-refactor
Ank4n dfe935e
Merge branch 'master' into ankn/current-era-refactor
Ank4n 43afe7d
Merge branch 'master' into ankn/current-era-refactor
Ank4n e0c8134
fixes
Ank4n 21eb4e9
def fix
Ank4n abc1645
Merge branch 'master' into ankn/current-era-refactor
Ank4n 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 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
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
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
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
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
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
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
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
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.
remove and use from testing utils