MQC authorization (#308)

* MQC auth

Update polkadot

WIP

* Update polkadot

* Silly syntax errors

* Fix typo

* Leave some comments and docs

* Apply suggestions from code review

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* Introduce the MessageQueueChain structure

* Move the HRMP channel relevance check below

* Fix the `receive_hrmp_after_pause` test

* ValidationData is passed by reference

* Replace "to cumulus" with "to the collator"

* Update the test so that they are same as in polkadot

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Sergei Shulepov
2021-02-02 19:12:20 +01:00
committed by GitHub
parent c3e3f44338
commit 309bc92b78
4 changed files with 553 additions and 61 deletions
+1 -1
View File
@@ -131,5 +131,5 @@ pub trait HrmpMessageSender {
/// A trait which is called when the validation data is set.
#[impl_trait_for_tuples::impl_for_tuples(30)]
pub trait OnValidationData {
fn on_validation_data(data: PersistedValidationData);
fn on_validation_data(data: &PersistedValidationData);
}