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.
CommitmentErrorRetryable
@ensforge/sdk
What happened
The registration commitment is not ready yet.
What to show users
| Title | Message | Action |
|---|---|---|
| Almost ready | Registration 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
| Action | When |
|---|---|
registration.commit | for a resumed commitment outside its window. |
registration.register | for a resumed commitment outside its window. |
Catch it
Errors.hasCode("COMMITMENT_TOO_NEW") narrows to this error. See Handle errors.
Was this page helpful?