-
Notifications
You must be signed in to change notification settings - Fork 12
Adds AllowanceBasedPriority extension
#448
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
Merged
Merged
Changes from 25 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
ef52c7f
Adds `AllowanceBasedPriority` extension
bkchr a4d9ca9
Nit plus test
bkontur 22362fb
Do not degrade user's performance in time - reset usage when refresh_…
bkontur 5a2682e
Migration for Paseo
bkontur 895ab04
Fix migration
bkontur 38795c2
fmt
bkontur 65ff285
Ping CI
bkontur 820882e
Fix tests to match assignment semantics of `authorize`
bkontur 398dc3a
Merge remote-tracking branch 'origin/main' into bkchr-priority-extension
bkontur 16db0cc
Compilation for paseo after main merge
bkontur d78a9b1
Doc nit for refresh_authorization
bkontur bada2d7
Migration for paseo, which was merged meantime
bkontur 7a3b9dc
Refactor allowance boost behind `BoostStrategy`, default to `FlatBoost`
bkontur 0cc298b
Merge remote-tracking branch 'origin/main' into bkchr-priority-extension
bkontur 4f0516e
Docs nits
bkontur 955c0cc
Compute allowance boost against post-this-tx state
bkontur 633fe32
Merge branch 'main' into bkchr-priority-extension
bkontur bbf39df
Minimalistic alignment with https://github.com/paritytech/individuali…
bkontur 1d0f322
Pick transactions_used / transactions_allowance from #469
bkontur 1de60a1
transactions_used -> transactions
bkontur aefb13c
Refresh: only extend expiry, do not reset consumed counters
bkontur 428f79d
Move back to 14
bkontur c8d0f7c
Tighten priority constants for store / renew
bkontur ab29ac5
Nit
bkontur 71e05c5
More nits
bkontur 8556690
Nit
bkontur 05c5893
nit
bkontur 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
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.
I actually argue renewals should have the same priority. We can change it in a future PR though after discussion