pub struct ReplacementCore {
pub context: ReplacementContext,
pub slot: u64,
pub batch_index: u32,
pub original_signature: Signature,
pub original_failed: bool,
pub outcome: String,
pub category: Option<String>,
pub error: Option<String>,
}Expand description
The identity and ending every replacement payload carries, whatever kind it is.
Fields§
§context: ReplacementContext§slot: u64§batch_index: u32Batch within the slot the original sits in; the simulation ran just before it executed.
original_signature: Signature§original_failed: boolThe original failed on L1, so it realised nothing and its route is flow that never landed.
outcome: Stringfilled, reverted, unattributed or unsimulatable — the closed set the session’s own
outcome columns are typed to, so a consumer tallies all three kinds the same way. Carried
as a string rather than an enum so a word added server-side reaches an older client.
category: Option<String>The failure bucket, absent unless it failed — what keeps one venue declining to trade separable from another, and what a breakdown groups by.
error: Option<String>The concrete error behind Self::category. Named err rather than error because that
is what a re-quote has always called it on this stream.