mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-07 16:23:12 +00:00
Merge pull request #990 from mir-protocol/mpt_failure_labels
Labels for failed MPT read/insert
This commit is contained in:
commit
690fd1006d
@ -17,6 +17,7 @@ global mpt_insert:
|
|||||||
|
|
||||||
// There's still the MPT_NODE_HASH case, but if we hit a hash node,
|
// There's still the MPT_NODE_HASH case, but if we hit a hash node,
|
||||||
// it means the prover failed to provide necessary Merkle data, so panic.
|
// it means the prover failed to provide necessary Merkle data, so panic.
|
||||||
|
global mpt_insert_hash_node:
|
||||||
PANIC
|
PANIC
|
||||||
|
|
||||||
mpt_insert_empty:
|
mpt_insert_empty:
|
||||||
|
|||||||
@ -42,6 +42,7 @@ global mpt_read:
|
|||||||
|
|
||||||
// There's still the MPT_NODE_HASH case, but if we hit a hash node,
|
// There's still the MPT_NODE_HASH case, but if we hit a hash node,
|
||||||
// it means the prover failed to provide necessary Merkle data, so panic.
|
// it means the prover failed to provide necessary Merkle data, so panic.
|
||||||
|
global mpt_read_hash_node:
|
||||||
PANIC
|
PANIC
|
||||||
|
|
||||||
global mpt_read_empty:
|
global mpt_read_empty:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user