Type Alias: SubmitError
type SubmitError = {
boopHash?: undefined;
description: string;
entryPoint?: undefined;
revertData?: Bytes;
stage: "simulate" | "submit";
status: Exclude<SubmitStatus, typeof Success>;
};
Defined in: apps/submitter/lib/handlers/submit/types.ts:55
Failed submit
call.
Properties
boopHash?
optional boopHash: undefined;
Defined in: apps/submitter/lib/handlers/submit/types.ts:75
description
description: string;
Defined in: apps/submitter/lib/handlers/submit/types.ts:73
Description of the problem.
entryPoint?
optional entryPoint: undefined;
Defined in: apps/submitter/lib/handlers/submit/types.ts:76
revertData?
optional revertData: Bytes;
Defined in: apps/submitter/lib/handlers/submit/types.ts:70
If the status string ends in "Reverted" or "Rejected", this will hold the associated revert or rejection data, if available.
Note that this will be different from the revert data of the simulation of the EVM tx that carried the boop, as first of all it might not have reverted (e.g. Onchain.ExecuteReverted does not cause the transaction to revert when executed onchain), and second we use "carrier errors" to transmit to tag the real errors with their context.
stage
stage: "simulate" | "submit";
Defined in: apps/submitter/lib/handlers/submit/types.ts:59
Whether the error occurred at the simulation stage or at the submit stage.
status
status: Exclude<SubmitStatus, typeof Success>;
Defined in: apps/submitter/lib/handlers/submit/types.ts:56