Skip to content

Persist Deposit Merkle tree #776

Open
@pawanjay176

Description

@pawanjay176

Description

The deposit tree is rebuilt from the persisted tree leaves every time for use in the Eth1 caches (once #760 is merged). Rebuilding the deposit tree from scratch for deposit sizes > 1 million takes a few seconds. Encoding the merkle tree as bytes is not straightforward as its a recursive data structure.

Steps to resolve

Figure out a way to encode/decode the deposit tree and save/load the deposit tree on shutdown/startup.

Blocked on #760

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions