Mavryk_shell_services.Store_errors
type Mavryk_base.TzPervasives.error +=
| Block_not_found of {
hash : Mavryk_base.TzPervasives.Block_hash.t;
distance : int;
}
| Resulting_context_hash_not_found of {
hash : Mavryk_base.TzPervasives.Block_hash.t;
level : int32;
}
| Bad_level of {
}
| Block_metadata_not_found of Mavryk_base.TzPervasives.Block_hash.t
| Protocol_not_found of {
}
| Cannot_switch_history_mode of {
previous_mode : History_mode.t;
next_mode : History_mode.t;
}
| Invalid_head_switch of {
checkpoint_level : int32;
given_head : Mavryk_base.TzPervasives.Block_hash.t * int32;
}
| Inconsistent_store_state of string
| Inconsistent_operations_hash of {
expected : Mavryk_base.TzPervasives.Operation_list_list_hash.t;
got : Mavryk_base.TzPervasives.Operation_list_list_hash.t;
}
type cemented_store_inconsistency =
| Missing_cycle of {
}
| Inconsistent_cycle_start of {
}
| Bad_offset of {
}
| Unexpected_level of {
block_hash : Mavryk_base.TzPervasives.Block_hash.t;
expected : Stdlib.Int32.t;
got : Stdlib.Int32.t;
}
| Corrupted_index of Mavryk_base.TzPervasives.Block_hash.t
| Inconsistent_highest_cemented_level of {
}
val cemented_store_inconsistency_encoding :
cemented_store_inconsistency Mavryk_base.TzPervasives.Data_encoding.encoding
val store_block_error_encoding :
store_block_error Mavryk_base.TzPervasives.Data_encoding.encoding
type Mavryk_base.TzPervasives.error +=
| Cannot_write_in_readonly
| Wrong_predecessor of Mavryk_base.TzPervasives.Block_hash.t * int
| Invalid_blocks_to_cement
| Wrong_floating_kind_swap
| Cannot_update_floating_store
| Cannot_instanciate_temporary_floating_store
| Merge_already_running
| Merge_error
| Cannot_load_degraded_store
| Cannot_merge_store of {
}
| Failed_to_init_cemented_block_store of string
| Cannot_cement_blocks_metadata of [ `Empty | `Not_cemented ]
| Cannot_cement_blocks of [ `Empty | `Higher_cemented ]
| Temporary_cemented_file_exists of string
| Inconsistent_cemented_file of string * string
| Inconsistent_cemented_store of cemented_store_inconsistency
| Missing_last_preserved_block
| Inconsistent_block_hash of {
level : Stdlib.Int32.t;
expected_hash : Mavryk_base.TzPervasives.Block_hash.t;
computed_hash : Mavryk_base.TzPervasives.Block_hash.t;
}
| Inconsistent_block_predecessor of {
block_hash : Mavryk_base.TzPervasives.Block_hash.t;
level : Stdlib.Int32.t;
expected_hash : Mavryk_base.TzPervasives.Block_hash.t;
computed_hash : Mavryk_base.TzPervasives.Block_hash.t;
}
| Cannot_encode_block of Mavryk_base.TzPervasives.Block_hash.t
| Cannot_store_block of Mavryk_base.TzPervasives.Block_hash.t * store_block_error
| Cannot_checkout_context of Mavryk_base.TzPervasives.Block_hash.t
* Mavryk_base.TzPervasives.Context_hash.t
| Cannot_find_protocol of int
| Invalid_genesis_marking
| Cannot_retrieve_savepoint of Stdlib.Int32.t
| Cannot_set_target of Mavryk_base.TzPervasives.Block_hash.t * Stdlib.Int32.t
| Missing_commit_info of string
| Inconsistent_chain_store
| Fork_testchain_not_allowed
| Cannot_fork_testchain of Mavryk_base.TzPervasives.Chain_id.t
| Cannot_load_testchain of string
| Missing_activation_block of Mavryk_base.TzPervasives.Block_hash.t
* Mavryk_base.TzPervasives.Protocol_hash.t
* History_mode.t
| Inconsistent_protocol_commit_info of Mavryk_base.TzPervasives.Block_hash.t
* Mavryk_base.TzPervasives.Protocol_hash.t
| Failed_to_get_live_blocks of Mavryk_base.TzPervasives.Block_hash.t
| Target_mismatch
| Bad_head_invariant
type Mavryk_base.TzPervasives.error +=
| Unexpected_missing_block of {
block_name : string;
level : Stdlib.Int32.t;
hash : Mavryk_base.TzPervasives.Block_hash.t;
}
| Unexpected_missing_block_metadata of {
block_name : string;
level : Stdlib.Int32.t;
hash : Mavryk_base.TzPervasives.Block_hash.t;
}
| Unexpected_missing_activation_block of {
block : Mavryk_base.TzPervasives.Block_hash.t;
protocol : Mavryk_base.TzPervasives.Protocol_hash.t;
}
| Unexpected_missing_protocol of {
}
| Inconsistent_genesis of {
expected : Mavryk_base.TzPervasives.Block_hash.t;
got : Mavryk_base.TzPervasives.Block_hash.t;
}
| Inconsistent_cementing_highwatermark of {
}
| Inconsistent_history_mode of History_mode.t
| Bad_ordering_invariant of {
genesis : Stdlib.Int32.t;
caboose : Stdlib.Int32.t;
savepoint : Stdlib.Int32.t;
cementing_highwatermark : Stdlib.Int32.t option;
checkpoint : Stdlib.Int32.t;
head : Stdlib.Int32.t;
}
type corruption_kind =
| Inferred_head of Mavryk_base.TzPervasives.Block_hash.t * Stdlib.Int32.t
| Cannot_find_floating_savepoint
| Cannot_find_savepoint_candidate
| Cannot_find_floating_caboose
| Cannot_find_caboose_candidate
| Cannot_find_block_with_metadata
| Cannot_find_activation_block of int
| Missing_genesis
val corruption_kind_encoding :
corruption_kind Mavryk_base.TzPervasives.Data_encoding.encoding
val pp_corruption_kind : Stdlib.Format.formatter -> corruption_kind -> unit
type Mavryk_base.TzPervasives.error +=
| Cannot_find_chain_dir of string
| V_3_0_upgrade_missing_floating_block of {
block_hash : Mavryk_base.TzPervasives.Block_hash.t;
block_level : Stdlib.Int32.t;
floating_kind : string;
}