mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 02:51:01 +00:00
Remove message fee + message send calls (#1642)
* remove message fee * it is compiling! * fixes + fmt * more cleanup * more cleanup * restore MessageDeliveryAndDispatchPayment since we'll need relayer rewards * started rational relayer removal * more removal * removed estimate fee subcommand * remove DispatchFeePayment * more removals * removed conversion rates && some metrics * - unneeded associated type * - OutboundMessageFee * fix benchmarks compilation * fmt * test + fix benchmarks * fix send message * clippy
This commit is contained in:
committed by
Bastian Köcher
parent
1217b2cf80
commit
8c845602cf
@@ -17,7 +17,7 @@
|
||||
//! Autogenerated weights for `pallet_bridge_grandpa`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2022-10-04, STEPS: 50, REPEAT: 20
|
||||
//! DATE: 2022-11-17, STEPS: 50, REPEAT: 20
|
||||
//! LOW RANGE: [], HIGH RANGE: []
|
||||
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled
|
||||
//! CHAIN: Some("dev"), DB CACHE: 1024
|
||||
@@ -59,9 +59,9 @@ pub trait WeightInfo {
|
||||
pub struct BridgeWeight<T>(PhantomData<T>);
|
||||
impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
|
||||
fn submit_finality_proof(p: u32, v: u32) -> Weight {
|
||||
Weight::from_ref_time(105_417_000 as u64)
|
||||
.saturating_add(Weight::from_ref_time(40_923_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_691_000 as u64).saturating_mul(v as u64))
|
||||
Weight::from_ref_time(198_274_668 as u64)
|
||||
.saturating_add(Weight::from_ref_time(39_830_948 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_535_681 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(T::DbWeight::get().reads(7 as u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6 as u64))
|
||||
}
|
||||
@@ -70,9 +70,9 @@ impl<T: frame_system::Config> WeightInfo for BridgeWeight<T> {
|
||||
// For backwards compatibility and tests
|
||||
impl WeightInfo for () {
|
||||
fn submit_finality_proof(p: u32, v: u32) -> Weight {
|
||||
Weight::from_ref_time(105_417_000 as u64)
|
||||
.saturating_add(Weight::from_ref_time(40_923_000 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_691_000 as u64).saturating_mul(v as u64))
|
||||
Weight::from_ref_time(198_274_668 as u64)
|
||||
.saturating_add(Weight::from_ref_time(39_830_948 as u64).saturating_mul(p as u64))
|
||||
.saturating_add(Weight::from_ref_time(1_535_681 as u64).saturating_mul(v as u64))
|
||||
.saturating_add(RocksDbWeight::get().reads(7 as u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6 as u64))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user