paritytech / cumulus

Write Parachains on Substrate
GNU General Public License v3.0
617 stars 378 forks source link

Real UMP queue which sends messages across multiple blocks #1192

Open GopherJ opened 2 years ago

GopherJ commented 2 years ago

Currently we are facing an UMP issue. Our ump message will be sent directly to relaychain without any buffering. In this case we wont be able to send more than 7~10 messages because it may pass relaychain's ump queue capacity

While opening issue at: https://github.com/parallel-finance/parallel/issues/1622. I think it's maybe better be done in cumulus as an custom ump implementation to avoid sending too many messages at once

GopherJ commented 2 years ago

https://github.com/paritytech/cumulus/blob/master/primitives/utility/src/lib.rs#L31-L33

GopherJ commented 2 years ago

seems rococo has message broker before: https://github.com/paritytech/cumulus/pull/244/files#diff-882c240f57020dbf13ce88e7deb05bfc54bb80ffabed8612c53c8af16f8ff653R221