COMMITMENT_TOO_OLD
What COMMITMENT_TOO_OLD means, why CommitmentError throws it, what to show users and how to fix it in ensforge. Also covers retry safety.
CommitmentErrorNot retryable
@ensforge/sdk
What happened
The registration commitment has expired.
What to show users
| Title | Message | Action |
|---|---|---|
| Registration expired | Too much time passed since the first step. | Start the registration again. |
How to fix
Commit again, then register.
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
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_OLD") narrows to this error. See Handle errors.
Was this page helpful?