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

solana multisig #97

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

solana multisig #97

wants to merge 7 commits into from

Conversation

yiplee
Copy link

@yiplee yiplee commented Nov 18, 2024

No description provided.

@yiplee yiplee marked this pull request as draft November 18, 2024 13:06
…ndling, and network loops for deposits and approvals. Update existing methods to accommodate Solana transactions and enhance error handling.
- Introduced a new configuration field `SolanaPayer` in the observer's interface for Solana transactions.
- Updated the transaction signing process in `solana.go` to utilize the new `SolanaPayer` configuration for signing transactions.

These changes enhance the Solana transaction handling capabilities of the observer.
- Added a new method `RPCGetAsset` to fetch asset details using its address, including mint information and metadata.
- Introduced a new struct `AssetMetadata` to hold asset metadata such as symbol and name.
- Implemented a helper method `getAssetMetadata` to retrieve asset metadata via RPC call.

These changes enhance the asset management capabilities of the Solana RPC client.
- Added a new function `ValidateTransactionSignatures` in `transaction.go` to ensure that the number of signatures matches the required count and that all signatures are valid and non-zero.
- Updated the `processSolanaSafeApproveAccount` method in `solana.go` to correctly set the state to `SafeStateApproved`.
- Enhanced the test coverage for Solana transactions by introducing a new test file `solana_test.go`, which includes comprehensive tests for transaction proposals, approvals, and network status updates.
- Modified existing tests in `keeper_test.go` to accommodate changes related to Solana transaction handling.

These changes improve the robustness and reliability of Solana transaction processing and validation.
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.

1 participant