referrerpolicy=no-referrer-when-downgrade

snowbridge_pallet_system_frontend/
backend_weights.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
//! XCM Execution weights for invoking the backend implementation

use frame_support::weights::Weight;

/// XCM Execution weights for invoking the backend implementation
pub trait BackendWeightInfo {
	/// Execution weight for remote xcm that dispatches `EthereumSystemCall::RegisterToken`
	/// using `Transact`.
	fn transact_register_token() -> Weight;
}

impl BackendWeightInfo for () {
	fn transact_register_token() -> Weight {
		Weight::from_parts(100_000_000, 10000)
	}
}