pub enum Verdict {
Confirmed,
ModuleChanged,
Refuted {
observed_status: CallStatus,
observed_result: Option<i32>,
},
Unverifiable,
}Expand description
Outcome of re-executing a call receipt against the live module bytes.
Variants§
Confirmed
Re-execution reproduced the recorded status (and result, when Ok) exactly — the receipt is TRUE of these bytes.
ModuleChanged
The live bytes no longer hash to the receipt’s module_keccak — the
module was republished. The receipt still binds the OLD bytes; nothing
can be said about it from the new ones.
Refuted
Re-execution ran and produced a DIFFERENT outcome — the receipt does not describe what this module does.
Fields
§
observed_status: CallStatusWhat re-execution observed (a receiptable status).
Unverifiable
Re-execution could not interrogate the module (instantiate failure / host refusal) — no statement about the receipt is possible.
Trait Implementations§
impl Eq for Verdict
impl StructuralPartialEq for Verdict
Auto Trait Implementations§
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnsafeUnpin for Verdict
impl UnwindSafe for Verdict
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more