(self, object_root: R)
| 128 | } |
| 129 | |
| 130 | pub fn with_root<R: Into<B256>>(self, object_root: R) -> Self { |
| 131 | Self { object_root: object_root.into(), ..self } |
| 132 | } |
| 133 | |
| 134 | pub fn with_msg(self, msg: &impl TreeHash) -> Self { |
| 135 | self.with_root(msg.tree_hash_root().0) |