This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delivery fee should cover cost of local processing (paritytech#975)
* Submit outbound message without MessageQueue * Priority control * Update priority * Update cumulus * Reserve space for high priority messages * Fix compile error & More refactor * Improve processing high priority messages * Some polish * Add priority back * Improve comments * Rename priority to normal * Refactor submit logic * Refactor process message * Add type HighPriorityCommands * Fix clippy * Rename priority with BridgeHub * Update parachain/primitives/core/src/outbound.rs Co-authored-by: Vincent Geddes <vincent@snowfork.com> * Update parachain/pallets/outbound-queue/src/lib.rs Co-authored-by: Vincent Geddes <vincent@snowfork.com> * Update parachain/pallets/outbound-queue/src/lib.rs Co-authored-by: Vincent Geddes <vincent@snowfork.com> * Revamp with ExportOrigin * Fix format * Some polish * Check weight before processing message (paritytech#974) * update cumulus submodule * Include base_fee * Redeem vouchers for delivery fee * Estimate fee upon commit_one_message * Balance type as u128 * Improve comments * Runtime api for estimate_fee * Remove all voucher&redeem stuff * Fix for clippy * Benchmark for do_submit_message * Add delivery_fee * Improve fee test * Remove benchmark for submit * Add comments * Rename to calculate_fee * Comments * Add method for total fee * Short name * Rename to commit_messages * Use Balance generic for the api * Update parachain/pallets/outbound-queue/runtime-api/src/lib.rs Co-authored-by: Vincent Geddes <vincent@snowfork.com> * Rename generic Runtime to T * Remove fee from OutboundQueueTicket * Rename to fees --------- Co-authored-by: Vincent Geddes <vincent.geddes@hey.com> Co-authored-by: Vincent Geddes <vincent@snowfork.com>
- Loading branch information
1 parent
1adc5e0
commit 187c3ff
Showing
17 changed files
with
273 additions
and
88 deletions.
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
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.