-
Notifications
You must be signed in to change notification settings - Fork 124
fix: fix solana withdraw and call outbounds #3717
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
Conversation
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release/v29 #3717 +/- ##
===============================================
- Coverage 64.50% 64.45% -0.05%
===============================================
Files 469 469
Lines 32859 32884 +25
===============================================
Hits 21196 21196
- Misses 10695 10720 +25
Partials 968 968
🚀 New features to boost your workflow:
|
0bc014a
to
ecdbefa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* fix solana outbounds * typo * use tx getters to delay relayer signing * changelog --------- Co-authored-by: Alex Gartner <git@agartner.com>
Description
Every zetaclient is doing key sign and then relayer sign, even though they might not have relayer key. This was causing panics from the start of solana outbounds, but not causing outbounds to fail because panics were recovered and relayer broadcasted it.
But now we might have 2 key signs, tx and fallback tx, so if there is panic after key sign for tx, fallback tx keysign will always fail.
This PR is simplest fix for this, for next milestone we can refactor it to be a bit more cleaner and less code duplication, but just skipping relayer sign should be enough if key is not set up.
How Has This Been Tested?