-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Client methods GetTx and WaitTx (#25)
* get_tx method for GRPCClient * wait_tx method for GRPCClient * Stash commits * feat: wait for tx and get tx for HTTPClient --------- Co-authored-by: Felix <62290842+ctrl-Felix@users.noreply.github.com>
- Loading branch information
1 parent
acff3aa
commit b66cbdd
Showing
6 changed files
with
184 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
class NodeException(Exception): | ||
"""Raised when a node returns an error to a request.""" | ||
pass | ||
|
||
class NodeTimeoutException(Exception): | ||
"""Raised when a request to a node times out.""" | ||
pass | ||
|
||
class TransactionTimeout(Exception): | ||
"""Raised when the transaction didn't hit the chain within the provided timeout.""" | ||
pass | ||
|
||
class TransactionNotFound(Exception): | ||
"""Raised when the transaction couldn't be found on chain.""" | ||
pass |
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