-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Broker new price adapter #4521
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
Broker new price adapter #4521
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
d598a1e
Price adjustements should be based on price
ae90650
AllowedRenewal -> PotentialRenewal
2855832
WIP: New price based `AdaptPrice` trait.
627acf7
Pub
31ea3a9
Also adjust sellout_price on renew.
63f5856
Adapt price implementation.
3630ccc
Some tests + handle going down to zero gracefully.
b615fbe
Fix tests.
fd03dc1
More linear tests.
6fdc11b
Add prdoc.
cb5485d
Put base price in the middle of the range.
9299010
new leadin curve.
28f13f4
price -> base_price
4b5a66d
Fmt
fad4aab
base_price -> min_price
4979fbb
Merge branch 'master' into rk-broker-new-price-adapter
5869882
New example adapter name + more parameters (cores)
baeab0e
Fix kitchensink
aa4defc
Some logging + test.
d5992b4
Fix prdoc
03db451
regular_price -> end_price
d67dfc4
Fixes.
edeaf69
Merge remote-tracking branch 'origin/master' into rk-broker-new-price…
890e6ca
Fix benchmarks
66bce5a
Update prdoc/pr_4521.prdoc
eskimor fbe5241
min_price -> end_price
fdf764e
Better docs for target_price.
86ec07c
Improved prdoc
1ca75af
Merge remote-tracking branch 'origin/rk-broker-new-price-adapter' int…
2a940a5
Make change major again.
52e0b80
One more test.
812f66c
Add migration for name change `PotentialRenewals`.
ae20d3c
Merge remote-tracking branch 'origin/master' into rk-broker-new-price…
7e2992c
Fix prdoc?
654d1e4
Merge branch 'master' of https://github.com/paritytech/polkadot-sdk i…
4cc238a
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
d6857aa
Change bump to minor again to make CI happy.
c98a945
Merge remote-tracking branch 'origin/rk-broker-new-price-adapter' int…
d179b89
prdoc fix
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
min_price -> end_price
- Loading branch information
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
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.
Uh oh!
There was an error while loading. Please reload this page.