-
Notifications
You must be signed in to change notification settings - Fork 284
Open
Labels
BugSomething isn't workingSomething isn't working
Description
In the schema, MerkleTree<T>
is represented as Vec<HashOf<T>>
:
iroha/docs/source/references/schema.json
Lines 2835 to 2843 in 884f870
"MerkleTree<SignedTransaction>": { | |
"Vec": "HashOf<SignedTransaction>" | |
}, | |
"MerkleTree<TransactionEntrypoint>": { | |
"Vec": "HashOf<TransactionEntrypoint>" | |
}, | |
"MerkleTree<TransactionResult>": { | |
"Vec": "HashOf<TransactionResult>" | |
}, |
While MerkleTree<T>
is actually encoded as Vec<Option<HashOf>>
:
iroha/crates/iroha_crypto/src/merkle.rs
Line 32 in 884f870
pub struct MerkleTree<T>(Vec<Option<HashOf<T>>>); |
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working