Skip to content

Commit ee62bf5

Browse files
committed
fixed test imports
1 parent 5ef8a34 commit ee62bf5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

crates/rpc/src/v1/tests/mocked/signing.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616

1717
use std::{str::FromStr, sync::Arc, thread, time::Duration};
1818

19-
use jsonrpc_core::{futures::Future, IoHandler, Success};
19+
use jsonrpc_core::{futures::Future, IoHandler, Success};
2020
use v1::{
2121
helpers::{
2222
dispatch,
2323
external_signer::{SignerService, SigningQueue},
24-
nonce, FullDispatcher,
24+
nonce,
2525
},
2626
impls::SigningQueueClient,
2727
metadata::Metadata,
@@ -39,6 +39,7 @@ use parity_runtime::{Executor, Runtime};
3939
use parking_lot::Mutex;
4040
use serde_json;
4141
use types::transaction::{Action, SignedTransaction, Transaction, TypedTransaction};
42+
use crate::dispatch::FullDispatcher;
4243

4344
struct SigningTester {
4445
pub runtime: Runtime,

crates/rpc/src/v1/types/transaction.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,11 +360,12 @@ impl LocalTransactionStatus {
360360

361361
#[cfg(test)]
362362
mod tests {
363+
use crate::v1::types::transaction_access_list::AccessListItem;
364+
363365
use super::{LocalTransactionStatus, Transaction};
364366
use ethereum_types::H256;
365367
use serde_json;
366368
use types::transaction::TypedTxId;
367-
use v1::types::AccessListItem;
368369

369370
#[test]
370371
fn test_transaction_serialize() {

0 commit comments

Comments
 (0)