mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-02 22:03:07 +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,
|
||||
// it means the prover failed to provide necessary Merkle data, so panic.
|
||||
global mpt_insert_hash_node:
|
||||
PANIC
|
||||
|
||||
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,
|
||||
// it means the prover failed to provide necessary Merkle data, so panic.
|
||||
global mpt_read_hash_node:
|
||||
PANIC
|
||||
|
||||
global mpt_read_empty:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user