1
// Copyright (C) Moondance Labs Ltd.
2
// This file is part of Tanssi.
3

            
4
// Tanssi 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
// Tanssi 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 Tanssi.  If not, see <http://www.gnu.org/licenses/>
16

            
17
use {
18
    snowbridge_beacon_primitives::{types::deneb, ExecutionProof, VersionedExecutionPayloadHeader},
19
    snowbridge_core::inbound::Proof,
20
};
21

            
22
4
pub fn mock_snowbridge_message_proof() -> Proof {
23
4
    Proof {
24
4
        receipt_proof: (vec![], vec![]),
25
4
        execution_proof: ExecutionProof {
26
4
            header: Default::default(),
27
4
            ancestry_proof: None,
28
4
            execution_header: VersionedExecutionPayloadHeader::Deneb(
29
4
                deneb::ExecutionPayloadHeader {
30
4
                    parent_hash: Default::default(),
31
4
                    fee_recipient: Default::default(),
32
4
                    state_root: Default::default(),
33
4
                    receipts_root: Default::default(),
34
4
                    logs_bloom: vec![],
35
4
                    prev_randao: Default::default(),
36
4
                    block_number: 0,
37
4
                    gas_limit: 0,
38
4
                    gas_used: 0,
39
4
                    timestamp: 0,
40
4
                    extra_data: vec![],
41
4
                    base_fee_per_gas: Default::default(),
42
4
                    block_hash: Default::default(),
43
4
                    transactions_root: Default::default(),
44
4
                    withdrawals_root: Default::default(),
45
4
                    blob_gas_used: 0,
46
4
                    excess_blob_gas: 0,
47
4
                },
48
4
            ),
49
4
            execution_branch: vec![],
50
4
        },
51
4
    }
52
4
}