cfx_internal_common/
epoch_execution_commitment.rs1#[derive(Clone, Debug, RlpEncodable, RlpDecodable)]
8pub struct EpochExecutionCommitment {
9 pub state_root_with_aux_info: StateRootWithAuxInfo,
10 pub receipts_root: MerkleHash,
11 pub logs_bloom_hash: MerkleHash,
12}
13
14impl MallocSizeOf for EpochExecutionCommitment {
15 fn size_of(&self, _ops: &mut MallocSizeOfOps) -> usize { 0 }
16}
17
18impl_db_encoding_as_rlp!(EpochExecutionCommitment);
19
20use crate::StateRootWithAuxInfo;
21use malloc_size_of::{MallocSizeOf, MallocSizeOfOps};
22use primitives::MerkleHash;
23use rlp::*;
24use rlp_derive::*;