| 213 | |
| 214 | #[derive(Serialize, Deserialize, Eq, PartialEq, Clone, Debug, BorshDeserialize, BorshSerialize)] |
| 215 | pub struct BlockInclusionProof { |
| 216 | idx: u32, |
| 217 | merkle_proof: Vec<[u8; 32]>, // These are sibling nodes from the "mid-state" Merkle tree |
| 218 | } |
| 219 | |
| 220 | impl BlockInclusionProof { |
| 221 | pub fn new(idx: u32, merkle_proof: Vec<[u8; 32]>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected