Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Prune DMP digests according to the watermark
Browse files Browse the repository at this point in the history
  • Loading branch information
pepyakin committed Aug 24, 2020
1 parent 8c05bd7 commit a2510c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roadmap/implementers-guide/src/runtime/router.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ Candidate Enactment:
1. Set `HrmpWatermarks` for `P` to be equal to `new_hrmp_watermark`
* `prune_dmq(P: ParaId, new_dmq_watermark)`:
1. Remove all messages in `DownwardMessageQueues` for `P` up to (including) a message with `sent_at` equal to `new_dmq_watermark`.
1. Remove all block numbers up to (including) `new_dmq_watermark` in `DownwardMessagesDigest` for `P`
* `enact_upward_messages(P: ParaId, Vec<UpwardMessage>)`:
1. Process all upward messages in order depending on their kinds:
1. If the message kind is `Dispatchable`:
Expand Down

0 comments on commit a2510c1

Please sign in to comment.