1
// Copyright 2025 Moonbeam foundation
2
// This file is part of Moonbeam.
3

            
4
// Moonbeam is free software: you can redistribute it and/or modify
5
// it under the terms of the GNU General Public License as published by
6
// the Free Software Foundation, either version 3 of the License, or
7
// (at your option) any later version.
8

            
9
// Moonbeam is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
// GNU General Public License for more details.
13

            
14
// You should have received a copy of the GNU General Public License
15
// along with Moonbeam.  If not, see <http://www.gnu.org/licenses/>.
16

            
17
use crate::{Runtime, Weight};
18
use ::pallet_bridge_grandpa::WeightInfoExt as GrandpaWeightInfoExt;
19
use ::pallet_bridge_messages::WeightInfoExt as MessagesWeightInfoExt;
20
use ::pallet_bridge_parachains::WeightInfoExt as ParachainsWeightInfoExt;
21

            
22
impl GrandpaWeightInfoExt for super::pallet_bridge_grandpa::WeightInfo<Runtime> {
23
	fn submit_finality_proof_overhead_from_runtime() -> Weight {
24
		// Update this value if pallet_bridge_relayers is added to the runtime.
25
		Weight::zero()
26
	}
27
}
28

            
29
impl ParachainsWeightInfoExt for super::pallet_bridge_parachains::WeightInfo<Runtime> {
30
	fn expected_extra_storage_proof_size() -> u32 {
31
		::pallet_bridge_parachains::weights_ext::EXTRA_STORAGE_PROOF_SIZE
32
	}
33

            
34
	fn submit_parachain_heads_overhead_from_runtime() -> Weight {
35
		// Update this value if pallet_bridge_relayers is added to the runtime.
36
		Weight::zero()
37
	}
38
}
39

            
40
impl MessagesWeightInfoExt for super::pallet_bridge_messages::WeightInfo<Runtime> {
41
	fn expected_extra_storage_proof_size() -> u32 {
42
		::pallet_bridge_messages::EXTRA_STORAGE_PROOF_SIZE
43
	}
44

            
45
	fn receive_messages_proof_overhead_from_runtime() -> Weight {
46
		// Update this value if pallet_bridge_relayers is added to the runtime.
47
		Weight::zero()
48
	}
49

            
50
	fn receive_messages_delivery_proof_overhead_from_runtime() -> Weight {
51
		// Update this value if pallet_bridge_relayers is added to the runtime.
52
		Weight::zero()
53
	}
54
}