-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Solana Errors concrete types (#924)
* reify SolanaNetwork::Error to SolanaRpcError * Debiter::Error to SolanaRpcError * ConfigServerError::OrgError to ClientError * VerificationError::ConfigError to ConfigServerError * VerificationError::WriteError to file_store::Error * simplify Verifier::verify signature * ConfirmPendingError:SolanaError to SolanaRpcError * format tokio::select! * allow auto from error type for big errors * Add file path to keypair error * remove unneccessary import * MonitorError::Config/Solana to SolanaRpcError and ConfigServerError * use auto error conversion for verifier * boosting SolanaNetwork::Error to SolanaRpcError * use std::time for macro may not be imported where the macro is used * Add temp error for failing boost_manager test When the rest of this code starts to use helium-lib proper, this error type will be removed in lieu of mocking a tonic::Status error
- Loading branch information
1 parent
b756ace
commit bad8f0d
Showing
12 changed files
with
157 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.