[`polkadot-staging`] Separate `send_message()` validations (#2795)
* Fix xcm-bridge-hub build * Move send_message definition to MessagesBridge impl * Make send_message infallible * Split `MessagesBridge` into 2 phases Split `MessagesBridge` into 2 phases: - message validation - message sending
Showing
- bridges/modules/messages/src/benchmarking.rs 2 additions, 2 deletionsbridges/modules/messages/src/benchmarking.rs
- bridges/modules/messages/src/lib.rs 97 additions, 88 deletionsbridges/modules/messages/src/lib.rs
- bridges/modules/messages/src/mock.rs 4 additions, 4 deletionsbridges/modules/messages/src/mock.rs
- bridges/modules/messages/src/outbound_lane.rs 25 additions, 33 deletionsbridges/modules/messages/src/outbound_lane.rs
- bridges/modules/xcm-bridge-hub/src/exporter.rs 34 additions, 37 deletionsbridges/modules/xcm-bridge-hub/src/exporter.rs
- bridges/modules/xcm-bridge-hub/src/mock.rs 4 additions, 18 deletionsbridges/modules/xcm-bridge-hub/src/mock.rs
- bridges/primitives/messages/src/source_chain.rs 13 additions, 13 deletionsbridges/primitives/messages/src/source_chain.rs
- bridges/primitives/runtime/src/lib.rs 1 addition, 1 deletionbridges/primitives/runtime/src/lib.rs
Please register or sign in to comment