mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-28 22:49:49 +00:00
wait_for_finalized behavior if the tx dropped, usurped or invalid (#897)
* consider dropped, invalid and usurped as finalized * test structure * unit tests * move tests to tx_progress file * integrate pr review comments * integrate pr review comments (including revert)
This commit is contained in:
1 parent
8a7c17289a
commit
a69b3e45e7
3 files changed
+190
-31
No files matched your search
@@ -166,7 +166,8 @@ impl<Res> std::fmt::Debug for Subscription<Res> {
|
||||
}
|
||||
|
||||
impl<Res> Subscription<Res> {
|
||||
fn new(inner: RpcSubscription) -> Self {
|
||||
/// Creates a new [`Subscription`].
|
||||
pub fn new(inner: RpcSubscription) -> Self {
|
||||
Self {
|
||||
inner,
|
||||
_marker: std::marker::PhantomData,
|
||||
|
||||
Reference in new issue
Block a user