(genesis_hash: [u8; 32])
| 124 | 0, |
| 125 | 0, |
| 126 | 0, |
| 127 | 1, |
| 128 | payload_hash, |
| 129 | [0; 32].into(), |
| 130 | [0; 32].into(), |
| 131 | [0; 32].into(), |
| 132 | Vec::new(), |
| 133 | Vec::new(), |
| 134 | [0; 32], |
| 135 | genesis_hash.into(), |
| 136 | ); |
| 137 | Self { |
| 138 | header, |
| 139 | payload: ExecutionPayloadV3::from_block_slow(&AlloyBlock::<TxEnvelope>::default()), |
| 140 | execution_requests: Default::default(), |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | pub fn parent(&self) -> Digest { |
| 145 | self.header.parent() |
| 146 | } |
| 147 | |
| 148 | pub fn height(&self) -> u64 { |
| 149 | self.header.height() |
| 150 | } |
| 151 | |
| 152 | pub fn digest(&self) -> Digest { |
| 153 | self.header.get_digest() |
| 154 | } |
| 155 | |
| 156 | pub fn timestamp(&self) -> u64 { |
| 157 | self.header.timestamp() |
nothing calls this directly
no outgoing calls
no test coverage detected