-
Notifications
You must be signed in to change notification settings - Fork 689
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
Coretime: Add request revenue info #3940
Merged
Merged
Changes from 124 commits
Commits
Show all changes
128 commits
Select commit
Hold shift + click to select a range
aabcb4b
Start implementing request revenue info
antonva d8df101
Add revenue tracking to on demand pallet
antonva 8f7c179
Add revenue call to broker pallet
antonva 54e0326
Partial impl of revenue from relay chain
antonva d8bfb72
Move xcm sending from ondemand to coretime pallet
antonva f3dfe44
Move ondemand types into separate module
antonva 4f1a44d
Add pallet id to on demand
antonva ef1174b
Fix tests for on demand
antonva 21f9657
Rework get_revenue
antonva 4d00c85
Add empty weight implementations
antonva 8251ede
Add revenueinbox for broker pallet
antonva af93286
Merge branch 'master' into ava-request-revenue-info
antonva 7dd6a34
Add log target to coretime pallet
antonva d5d84e3
Fix coretime benchmarking
antonva aecc034
Remove check notify revenue info
antonva 1f9a4de
Update broker pallet for revenue info
antonva 6879dd7
Remove negative imbalance shorthand
antonva 7a1f198
Update revenue info calls
antonva c7d586d
Remove unused imports
antonva 74c88b1
Fix benchmarks
antonva ff69a3d
Merge branch 'master' into ava-request-revenue-info
antonva aa137da
Fix tests
antonva f255e47
Update revenue_until fn
antonva a6be112
Remove unused imports
antonva f8da2cd
Adress minor discussions
s0me0ne-unkn0wn 0e99692
Merge remote-tracking branch 'origin/master' into ava-request-revenue…
s0me0ne-unkn0wn 2e0e3ef
Fix revenue calculation
s0me0ne-unkn0wn 0f6a2ba
Propose different implementation of revenue reporting
s0me0ne-unkn0wn af899e2
Minor fix
s0me0ne-unkn0wn f1b9000
Rename call
s0me0ne-unkn0wn dd8ed91
Merge remote-tracking branch 'origin/master' into ava-request-revenue…
s0me0ne-unkn0wn 65af55c
Fix weights
s0me0ne-unkn0wn 84151b1
Move constants
s0me0ne-unkn0wn 6df281b
Improve error handling
s0me0ne-unkn0wn 8f482fe
Fix and improve test
s0me0ne-unkn0wn 724b7a5
Fix benchmarking code
s0me0ne-unkn0wn 00fd411
Add benchmark
s0me0ne-unkn0wn d5d668b
Minor fixes
s0me0ne-unkn0wn 36d9cef
Fix clippy
s0me0ne-unkn0wn cd559af
Merge remote-tracking branch 'origin/master' into ava-request-revenue…
s0me0ne-unkn0wn fac55b0
Fix broker benchmark
s0me0ne-unkn0wn 3f8482a
Fix mock impl
s0me0ne-unkn0wn 338316e
Fix tests
s0me0ne-unkn0wn bf4ed2e
Improve revenue collection implementation
s0me0ne-unkn0wn d8b4ad1
Merge branch 'master' of https://github.com/paritytech/polkadot-sdk i…
14e4bc2
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
3130df8
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
d90b4cb
Accumulate overdue revenue instead of burning it
s0me0ne-unkn0wn 93f98d6
Merge remote-tracking branch 'origin/ava-request-revenue-info' into a…
s0me0ne-unkn0wn f52bf9b
Merge branch 'master' into ava-request-revenue-info
s0me0ne-unkn0wn 8744d5d
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
884c077
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
db2bb27
Add missing benchmark
s0me0ne-unkn0wn 42914c5
Merge remote-tracking branch 'origin/ava-request-revenue-info' into a…
s0me0ne-unkn0wn 7dd59f6
Add stub weights
s0me0ne-unkn0wn b794eec
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
3d67f5d
Sort out weights mess
s0me0ne-unkn0wn f6c23cc
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
c3468bb
Add prdoc
s0me0ne-unkn0wn 1b60cbf
Fix prdoc
s0me0ne-unkn0wn 832ee90
Add constant docs
s0me0ne-unkn0wn ddd9f1e
Properly propagate `fast-runtime` feature
s0me0ne-unkn0wn d59f8ec
Implement parachain-side end of revenue teleport
s0me0ne-unkn0wn 3fb3f6a
Fix test values and add explanation
s0me0ne-unkn0wn 4be7536
Address discussions
s0me0ne-unkn0wn 250e480
Merge branch 'master' into ava-request-revenue-info
s0me0ne-unkn0wn 7eca0a0
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
50916c9
Merge branch 'master' of https://github.com/paritytech/polkadot-sdk i…
7de6355
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
bcfcf64
Add logs and simplify tests
s0me0ne-unkn0wn cd3b769
Merge remote-tracking branch 'origin/master' into ava-request-revenue…
s0me0ne-unkn0wn 70e511f
Add comments addressing commented out code
s0me0ne-unkn0wn 76cff00
Merge branch 'master' into ava-request-revenue-info
s0me0ne-unkn0wn 1d1e53d
Merge remote-tracking branch 'origin/master' into ava-request-revenue…
s0me0ne-unkn0wn 21638bb
Fix semver bumps
s0me0ne-unkn0wn 9ace334
Apply suggestions from code review
s0me0ne-unkn0wn c263b19
Restore the coretime interface and re-implement revenue inbox using it
s0me0ne-unkn0wn 544e558
Address discussions and clippy complains
s0me0ne-unkn0wn 057d356
Merge branch 'master' into ava-request-revenue-info
s0me0ne-unkn0wn 83c6a86
Merge branch 'master' into ava-request-revenue-info
s0me0ne-unkn0wn e21be97
Draft teleport implementation
s0me0ne-unkn0wn e447bbd
Fixes
s0me0ne-unkn0wn 447fd89
Make transactional; Clean up
s0me0ne-unkn0wn 8235de4
Draft the backward teleport
s0me0ne-unkn0wn 1f7842c
Fix teleports, format, clean up
s0me0ne-unkn0wn a24d410
Revert debug
s0me0ne-unkn0wn 75a6c7f
Batch asset burns
s0me0ne-unkn0wn 5138f8b
Address minor discussions
s0me0ne-unkn0wn 763f68a
Bump `fast-runtime` timeslice to 20 blocks
s0me0ne-unkn0wn 2f9f41d
Merge remote-tracking branch 'origin/master' into ava-request-revenue…
s0me0ne-unkn0wn 201637a
Update Cargo.lock
s0me0ne-unkn0wn 38bd4cc
Fix tests
s0me0ne-unkn0wn d899c9e
Fix node template
s0me0ne-unkn0wn 44e9ed4
Fix and improve benchmarks
s0me0ne-unkn0wn 9cc55c1
Fix pallet tests
s0me0ne-unkn0wn 5b8638a
Fix benchmark test
s0me0ne-unkn0wn b45ccda
Fix revenue benchmark
s0me0ne-unkn0wn c808679
Fix benchmark
s0me0ne-unkn0wn 737990f
Merge branch 'master' into ava-request-revenue-info
s0me0ne-unkn0wn eb4a21c
Apply suggestions from code review
s0me0ne-unkn0wn 2b0558a
Merge branch 'master' into ava-request-revenue-info
s0me0ne-unkn0wn 3d19187
Address discussions; Minor fixes
s0me0ne-unkn0wn 3decbf3
Make burn stash survive burn cycles
s0me0ne-unkn0wn 223039c
Fix credit-related test... Again
s0me0ne-unkn0wn 1d97bdc
Add docstring
s0me0ne-unkn0wn 0d01a6f
Rename parameter
s0me0ne-unkn0wn 4d49eab
Get rid of transactions
s0me0ne-unkn0wn 512d7ba
Move `OnNewTimeslice` to `CoretimeInterface`
s0me0ne-unkn0wn 44881bc
Remove unused imports
s0me0ne-unkn0wn 1bf474c
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
298d7c6
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
7f51df9
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
87cc279
Remove unneeded trait
s0me0ne-unkn0wn 74e341e
Fix naming
s0me0ne-unkn0wn 7ddd961
Remove redundant interfaces
s0me0ne-unkn0wn 3662e34
Merge remote-tracking branch 'origin/ava-request-revenue-info' into a…
s0me0ne-unkn0wn a40e811
Add account preservation
s0me0ne-unkn0wn 27615d5
Fix unused imports
s0me0ne-unkn0wn 1c0d41c
More clippy fixes
s0me0ne-unkn0wn 3ff9e6b
Optimize revenue collection loop
s0me0ne-unkn0wn 4de04c1
Make broker pot pallet-provided
s0me0ne-unkn0wn c0d95a4
Merge remote-tracking branch 'origin/ava-request-revenue-info' into a…
s0me0ne-unkn0wn 8ba0e7e
Rename things, minor fixes
s0me0ne-unkn0wn 2dd05de
Merge branch 'master' into ava-request-revenue-info
s0me0ne-unkn0wn 6330fe1
Fix tests
s0me0ne-unkn0wn 8667d4a
Merge branch 'master' into ava-request-revenue-info
s0me0ne-unkn0wn ce47be7
Revert erroneous changes
s0me0ne-unkn0wn 59efed2
Merge branch 'master' into ava-request-revenue-info
s0me0ne-unkn0wn 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
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 would probably just take all of it, but not that important here for the test chain.