You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
Currently regular merkle tree class is used for both one time merkle root calculation and consecutive merkle root calculation. However, this function must be async to support saving the merkle tree data into database.
We want to calculate the merkle root in synchronous function in case of creating transaction root and asset root.
Acceptance criteria
Function is unit tested against the fixture
The text was updated successfully, but these errors were encountered:
Description
Add below function to the regular merkle tree and expose from index.ts
Motivation
Currently regular merkle tree class is used for both one time merkle root calculation and consecutive merkle root calculation. However, this function must be
async
to support saving the merkle tree data into database.We want to calculate the merkle root in synchronous function in case of creating transaction root and asset root.
Acceptance criteria
The text was updated successfully, but these errors were encountered: