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

DMP follow-ups#1875

Merged
3 commits merged intomasterfrom
ser-dmp-follow-ups
Oct 29, 2020
Merged

DMP follow-ups#1875
3 commits merged intomasterfrom
ser-dmp-follow-ups

Conversation

@pepyakin
Copy link
Copy Markdown
Contributor

Follow ups for the recently merged #1859, namely,

  1. Remove fixed TODOs,
  2. Update the guide according to the changes. Including the DMP part of Implementer's Guide: Dekindification / XCM #1702.

Split from the #1679

@pepyakin pepyakin added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Oct 28, 2020
@pepyakin pepyakin changed the title Ser dmp follow ups DMP follow-ups Oct 28, 2020
@pepyakin pepyakin requested a review from coriolinus October 28, 2020 16:51
/// - `B`: is the relay-chain block number in which a message was appended.
/// - `H(M)`: is the hash of the message being appended.
DownwardMessageQueueHeads: map ParaId => Option<Hash>;
DownwardMessageQueueHeads: map ParaId => Hash;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, for a p: ParaId, instead of mapping DownwardMessageQueueHeads[p] == None, you just exclude p from DownwardMessageQueueHeads?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if by exclude you mean call remove on it, then yeah!

<Self as Store>::DownwardMessageQueues::remove(&outgoing_para);
<Self as Store>::DownwardMessageQueueHeads::remove(&outgoing_para);

@pepyakin
Copy link
Copy Markdown
Contributor Author

bot merge

@ghost
Copy link
Copy Markdown

ghost commented Oct 29, 2020

Trying merge.

@ghost ghost merged commit f6f8a42 into master Oct 29, 2020
@ghost ghost deleted the ser-dmp-follow-ups branch October 29, 2020 13:29
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants