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

Add support for Sui rejected withdrawals #3606

Open
lumtis opened this issue Feb 27, 2025 · 0 comments
Open

Add support for Sui rejected withdrawals #3606

lumtis opened this issue Feb 27, 2025 · 0 comments

Comments

@lumtis
Copy link
Member

lumtis commented Feb 27, 2025

If a withdrawal is rejected, there is currently no way to report this failure

  • A reverted outbound need to be voted on ZetaChain
  • The gateway nonce needs to be increased to keep cnsistencies with nonce in cctx

We should follow a solution similar to Solana:

  • Add a method for the TSS to increase the nonce without other side effect
  • On ZetaClient, a failed withdrawal must be parsed, then a tx to increase the nonce should be sent

It is not an absolute priority for the time being because without withdrawAndCall there should be no situation where the withdrawals are completely blocked, there are no reason for withdraws to fail unless the TSS doesn't own the withdrawCap anymore

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

No branches or pull requests

1 participant