Skip to content

Type Alias: SubmitSimulationFailed

type SubmitSimulationFailed = {
  description?: string;
  revertData?: Bytes;
  stage: "simulate" | "submit";
  status: Exclude<OnchainStatus, typeof Success>;
};

Defined in: apps/submitter/lib/handlers/submit/types.ts:42

Output type of submit who failed simulation "onchain".

Properties

description?

optional description: string;

Defined in: apps/submitter/lib/handlers/submit/types.ts:55

Description of the problem.


revertData?

optional revertData: Bytes;

Defined in: apps/submitter/lib/handlers/submit/types.ts:52

Depending on the status, either missing, or the revert data matching an Onchain.*Reverted status, or the the returned encoded error matching an Onchain.*Rejected status. This pertains to simulation.


stage

stage: "simulate" | "submit";

Defined in: apps/submitter/lib/handlers/submit/types.ts:46

Whether the error occurred at the simulation stage or at the submit stage.


status

status: Exclude<OnchainStatus, typeof Success>;

Defined in: apps/submitter/lib/handlers/submit/types.ts:43