Automated weights for message lane module (#590)

* automated weights

* associated WeightInfo type

* update weights using wasmtime

* disable clippy for autogenerated weight.rs

* fix
This commit is contained in:
Svyatoslav Nikolsky
2020-12-22 20:06:24 +03:00
committed by Bastian Köcher
parent c9310312b2
commit e5f6e309a6
5 changed files with 203 additions and 0 deletions
+1
View File
@@ -425,6 +425,7 @@ parameter_types! {
pub(crate) type WithMillauMessageLaneInstance = pallet_message_lane::DefaultInstance;
impl pallet_message_lane::Config for Runtime {
type Event = Event;
type WeightInfo = pallet_message_lane::weights::RialtoWeight<Runtime>;
type MaxMessagesToPruneAtOnce = MaxMessagesToPruneAtOnce;
type MaxUnrewardedRelayerEntriesAtInboundLane = MaxUnrewardedRelayerEntriesAtInboundLane;
type MaxUnconfirmedMessagesAtInboundLane = MaxUnconfirmedMessagesAtInboundLane;