feat(sync): MerkleStage (#994)

Co-authored-by: lambdaclass-user <github@lambdaclass.com>
Co-authored-by: Francisco Krause Arnim <fkrausear@gmail.com>
This commit is contained in:
Tomás
2023-02-03 23:50:33 -03:00
committed by GitHub
parent 6dce98cfa8
commit fd7dc11960
20 changed files with 1374 additions and 118 deletions

View File

@ -20,7 +20,7 @@ pub const EMPTY_ROOT: H256 =
/// A [Hasher] that calculates a keccak256 hash of the given data.
#[derive(Default, Debug, Clone, PartialEq, Eq)]
pub(crate) struct KeccakHasher;
pub struct KeccakHasher;
impl Hasher for KeccakHasher {
type Out = H256;