(&self)
| 176 | } |
| 177 | pub fn ssz_bytes_len(value: &str) -> usize { |
| 178 | value.len() |
| 179 | } |
| 180 | pub fn ssz_append(value: &String, buf: &mut Vec<u8>) { |
| 181 | buf.extend_from_slice(value.as_bytes()); |
| 182 | } |
| 183 | } |
| 184 | } |
| 185 | |
| 186 | impl Genesis { |
| 187 | /// The EL genesis hash as raw bytes, the immutable identity of this chain |