companion for substrate#9788 (#3858)

* companion for https://github.com/paritytech/substrate/pull/9788

* fmt

* Some fixes

* final fixes

* fix a few small things

* update Substrate

Co-authored-by: parity-processbot <>
This commit is contained in:
Kian Paimaniandparity-processbot authored and GitHub committed 2021-09-21 18:08:21 +00:00
1 parent 71a825b3dc
commit 5bbcb665d9
7 files changed
+184 -169

No files matched your search

+3 -2
View File
@@ -143,8 +143,9 @@ impl fmt::Debug for OutboundHrmpAcceptanceErr {
"more HRMP messages than permitted by config ({} > {})",
sent, permitted,
),
NotSorted { idx } =>
write!(fmt, "the HRMP messages are not sorted (first unsorted is at index {})", idx,),
NotSorted { idx } => {
write!(fmt, "the HRMP messages are not sorted (first unsorted is at index {})", idx,)
},
NoSuchChannel { idx, channel_id } => write!(
fmt,
"the HRMP message at index {} is sent to a non existent channel {:?}->{:?}",