Documentation for agents: an index at /llms.txt, every docs page in one file at /llms-full.txt, and Markdown for any docs page by adding .md to its URL.

Skip to Content
ensforge

COMMITMENT_TOO_NEW

What COMMITMENT_TOO_NEW means, why CommitmentError throws it, what to show users and how to fix it in ensforge. Also covers retry safety.

@ensforge/sdk

What happened

The registration commitment is not ready yet.

What to show users

TitleMessageAction
Almost readyRegistration needs a short wait after the first step.Wait a minute, then continue.

How to fix

Wait for the minimum commitment age, then register.

Retry safety

Retrying the same call can succeed (retryable: true).

Actions that throw it

ActionWhen
registration.commitfor a resumed commitment outside its window.
registration.registerfor a resumed commitment outside its window.

Catch it

Errors.hasCode("COMMITMENT_TOO_NEW") narrows to this error. See Handle errors.

Was this page helpful?