zebra_test/vectors/
orchard_shielded_data.rs
1#![allow(missing_docs)]
10
11use hex::FromHex;
12use lazy_static::lazy_static;
13
14lazy_static! {
15 pub static ref ORCHARD_SHIELDED_DATA: Vec<&'static [u8]> = [
16 ORCHARD_SHIELDED_DATA_1_BYTES.as_ref(),
17 ORCHARD_SHIELDED_DATA_3_BYTES.as_ref(),
18 ORCHARD_SHIELDED_DATA_3_BYTES.as_ref(),
19 ORCHARD_SHIELDED_DATA_4_BYTES.as_ref(),
20 ]
21 .to_vec();
22 pub static ref ORCHARD_SHIELDED_DATA_1_BYTES: Vec<u8> =
23 <Vec<u8>>::from_hex(include_str!("orchard-shielded-data-1.txt").trim())
24 .expect("Orchard shielded data bytes are in valid hex representation");
25 pub static ref ORCHARD_SHIELDED_DATA_2_BYTES: Vec<u8> =
26 <Vec<u8>>::from_hex(include_str!("orchard-shielded-data-2.txt").trim())
27 .expect("Orchard shielded data bytes are in valid hex representation");
28 pub static ref ORCHARD_SHIELDED_DATA_3_BYTES: Vec<u8> =
29 <Vec<u8>>::from_hex(include_str!("orchard-shielded-data-3.txt").trim())
30 .expect("Orchard shielded data bytes are in valid hex representation");
31 pub static ref ORCHARD_SHIELDED_DATA_4_BYTES: Vec<u8> =
32 <Vec<u8>>::from_hex(include_str!("orchard-shielded-data-4.txt").trim())
33 .expect("Orchard shielded data bytes are in valid hex representation");
34}