Skip to content
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

Consider retry logic when submitting roots to Hoku #594

Open
stbrody opened this issue Nov 14, 2024 · 0 comments
Open

Consider retry logic when submitting roots to Hoku #594

stbrody opened this issue Nov 14, 2024 · 0 comments

Comments

@stbrody
Copy link
Collaborator

stbrody commented Nov 14, 2024

What if the gas is too low? What if waiting for the txn to mine times out? What if Hoku is unavailable?

For many of these the answer might be to just throw out the batch and try everything again from the beginning, but we should think about if that is actually good enough in all cases, especially in the cases of the gas is too low. If the txn fails to be included in a block at all because the gas we are sending is too low, we might need to increase how much gas we are sending in order to get the txn ever included in a block. If we time out waiting for the txn to be included in a block, it still could be included after we give up, which could cause our nonce to get of sync in the SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant