-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Registrar has nonce issues if issuing two tx's without confirmation #49
Comments
Isn't this a more general problem with nonce's? If all applications are experiencing these sort of issues should this be solved elsewhere, could it merit a SIP? |
Does the registrar retry transactions upon failure for whatever reason, nonce or otherwise? |
Yes, It periodically checks for subdomains with |
Great 💪 Given those retries, this doesn't appear urgent for resolution before we deploy the updated registrar for mainnet. |
The registrar uses a naive approach for getting the current nonce - which is just to call
/v2/accounts
and get the current nonce. This does not reflect any tx's in the mempool. If the registrar makes aname_update
tx and then makes another one before the first was confirmed, the second tx will get rejected due to a conflicting nonce error.This can be worked around with a longer "batch interval" configuration - but it's not ideal.
Two options to do a better job:
The text was updated successfully, but these errors were encountered: