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

refactor: made solana methods to support event as an input #59

Merged
merged 13 commits into from
Jan 9, 2025

Conversation

frolvanya
Copy link
Contributor

It's very incovenient to use these methods by sending tx_hash as a input arguments, so let's support event as an argument as well (just like we did with evm methods)

@frolvanya frolvanya changed the title refactor/solana bridge client refactor: made solana methods to support event as an input Dec 14, 2024
@frolvanya frolvanya requested a review from kiseln December 14, 2024 23:53
I had a bug with `sign_transfer` method if it returned timeout, sdk returned `UnknownError` and it's impossible to differintiate between real error and timeout
@frolvanya frolvanya force-pushed the refactor/solana-bridge-client branch from de9986d to 77e0120 Compare December 16, 2024 00:57
kiseln and others added 2 commits December 18, 2024 11:54
* Solana: fix finalize transfer

* chore: removed `unwrap`

* fix: `get_native_token_id` method arguments

* Fix determining native/bridged

* fix: applied same logic with vault/program_id to `finalize_transfer` method

* fix: used standard method `storage_balance_bounds`

---------

Co-authored-by: Ivan Frolov <[email protected]>
@kiseln kiseln self-requested a review January 9, 2025 10:15
@frolvanya frolvanya merged commit d328c84 into main Jan 9, 2025
1 of 5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants