Skip to content

Type Alias: SimulateFailed

type SimulateFailed = {
  description?: string;
  revertData?: Bytes;
  status: Exclude<OnchainStatus, typeof Success>;
};

Defined in: apps/submitter/lib/handlers/simulate/types.ts:60

Output of a simulation that was attempted, but failed onchain, most likely due validation or checks.

Properties

description?

optional description: string;

Defined in: apps/submitter/lib/handlers/simulate/types.ts:70

Description of the problem.


revertData?

optional revertData: Bytes;

Defined in: apps/submitter/lib/handlers/simulate/types.ts:67

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.


status

status: Exclude<OnchainStatus, typeof Success>;

Defined in: apps/submitter/lib/handlers/simulate/types.ts:61