This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
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.
staking: Flexible generation of reward curve and associated tweaks #8327
staking: Flexible generation of reward curve and associated tweaks #8327
Changes from 19 commits
d461b25
f77dfcd
090688b
38e9831
5f947be
e6170a5
b15debb
42a0be1
bfae307
7d5e4d1
26c02e7
d4ad9ef
5f7e5cb
b9e0e20
1acce8e
096c1bd
43baaf2
af3e62a
2c24543
1ee20de
e4fecea
72f4b11
011eb05
2fcc109
06b2e55
95efd59
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
The only alternative that I can think of is to add a
where <T::Currency as _>::Balance: From<u64>
to most functions of this pallet, and while this is not pretty either, I guess it has less footprint than sprinklingwhere
s.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.
probably could use a description