mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-16 06:05:41 +00:00
establish_channel_with_system (#3721)
Implements https://github.com/polkadot-fellows/RFCs/issues/82 Allow any parachain to have bidirectional channel with any system parachains Looking for initial feedbacks before continue finish it TODOs: - [x] docs - [x] benchmarks - [x] tests --------- Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: Adrian Catangiu <adrian@parity.io>
This commit is contained in:
@@ -331,4 +331,14 @@ impl<T: frame_system::Config> runtime_parachains::hrmp::WeightInfo for WeightInf
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
fn establish_channel_with_system() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `417`
|
||||
// Estimated: `6357`
|
||||
// Minimum execution time: 629_674_000 picoseconds.
|
||||
Weight::from_parts(640_174_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 6357))
|
||||
.saturating_add(T::DbWeight::get().reads(12))
|
||||
.saturating_add(T::DbWeight::get().writes(8))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user