Skip to content

Variable: GetState

const GetState: {
  AlreadyProcessing: "submitterAlreadyProcessing";
  BoopReplaced: "submitterBoopReplaced";
  BufferExceeded: "submitterBufferExceeded";
  ClientError: "submitterClientError";
  ExternalSubmit: "submitterExternalSubmit";
  GasPriceTooHigh: "submitterGasPriceTooHigh";
  InvalidValues: "submitterInvalidValues";
  NonceTooFarAhead: "submitterNonceTooFarAhead";
  OverCapacity: "submitterOverCapacity";
  Receipt: "getStateReceipt";
  ReceiptTimeout: "submitterReceiptTimeout";
  RpcError: "submitterRpcError";
  Simulated: "getStateSimulated";
  SubmitterFeeTooLow: "submitterSubmitterFeeTooLow";
  SubmitTimeout: "submitterSubmitTimeout";
  TransactionManagementError: "submitterTransactionManagementError";
  UnexpectedError: "submitterUnexpectedError";
  UnknownBoop: "getStateUnknownBoop";
  UnknownState: "getStateUnknownState";
};

Defined in: apps/submitter/lib/handlers/getState/types.ts:18

Possible output status of a getState call (boop/state route). Possible results of a state call.

Type declaration

AlreadyProcessing

readonly AlreadyProcessing: "submitterAlreadyProcessing" = "submitterAlreadyProcessing";

A boop was submitted, but collides with a boop that is already currently being processed

BoopReplaced

readonly BoopReplaced: "submitterBoopReplaced" = "submitterBoopReplaced";

The boop has been replaced by a newer boop.

BufferExceeded

readonly BufferExceeded: "submitterBufferExceeded" = "submitterBufferExceeded";

The submitter rejected the request because of its Boop buffering policies.

ClientError

readonly ClientError: "submitterClientError" = "submitterClientError";

Unrecoverable client-side error.

ExternalSubmit

readonly ExternalSubmit: "submitterExternalSubmit" = "submitterExternalSubmit";

Boop was submitted onchain by another submitter or entity.

GasPriceTooHigh

readonly GasPriceTooHigh: "submitterGasPriceTooHigh" = "submitterGasPriceTooHigh";

The boop got rejected because the maxFeePerGas (either explicitly specified by the sender or computed from the network) was higher than what the submitter was willing to accept.

InvalidValues

readonly InvalidValues: "submitterInvalidValues" = "submitterInvalidValues";

Some values provided as input are invalid (e.g. gas limits, timeout).

NonceTooFarAhead

readonly NonceTooFarAhead: "submitterNonceTooFarAhead" = "submitterNonceTooFarAhead";

The supplied nonce is too far ahead of the current nonce value.

OverCapacity

readonly OverCapacity: "submitterOverCapacity" = "submitterOverCapacity";

The submitter rejected the request because it is over capacity.

Receipt

readonly Receipt: "getStateReceipt" = "getStateReceipt";

ReceiptTimeout

readonly ReceiptTimeout: "submitterReceiptTimeout" = "submitterReceiptTimeout";

Timed out while waiting for a receipt. This could indicate that the submitter tx is stuck in the mempool or an RPC issue.

RpcError

readonly RpcError: "submitterRpcError" = "submitterRpcError";

Error from the node's JSON-RPC server.

Simulated

readonly Simulated: "getStateSimulated" = "getStateSimulated";

SubmitterFeeTooLow

readonly SubmitterFeeTooLow: "submitterSubmitterFeeTooLow" = "submitterSubmitterFeeTooLow";

The boop was rejected because the provided submitter fee is too low.

SubmitTimeout

readonly SubmitTimeout: "submitterSubmitTimeout" = "submitterSubmitTimeout";

The RPC execution call (or related RPC call) timed out.

TransactionManagementError

readonly TransactionManagementError: "submitterTransactionManagementError" = "submitterTransactionManagementError";

The submitter had an issue with its transaction management. Typically this means that another transaction landed for the EVM nonce that we were using for the operation. This is usually solveable by retrying the operation.

UnexpectedError

readonly UnexpectedError: "submitterUnexpectedError" = "submitterUnexpectedError";

The submitter failed with an unexpected error.

UnknownBoop

readonly UnknownBoop: "getStateUnknownBoop" = "getStateUnknownBoop";

UnknownState

readonly UnknownState: "getStateUnknownState" = "getStateUnknownState";