Skip to content

Commit 2288552

Browse files
refactor: Updated cargo. Fixed library ordering
Signed-off-by: Severiano Sisneros <[email protected]>
1 parent 93a8670 commit 2288552

File tree

5 files changed

+8
-137
lines changed

5 files changed

+8
-137
lines changed

.vscode/launch.json

Lines changed: 0 additions & 135 deletions
This file was deleted.

tap_aggregator/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// SPDX-License-Identifier: Apache-2.0
33

44
pub mod aggregator;
5-
pub mod server;
65
pub mod api_versioning;
76
pub mod error_codes;
87
pub mod jsonrpsee_helpers;
8+
pub mod server;

tap_integration_tests/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "tap_integration_tests"
33
version = "0.1.0"
4-
edition = "2018"
4+
edition.workspace = true
5+
license.workspace = true
56
autotests = false
67

78
[dependencies]

tap_integration_tests/tests/indexer_mock/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ use std::{
77
},
88
time::{SystemTime, UNIX_EPOCH},
99
};
10+
1011
use anyhow::{Error, Result};
1112
use jsonrpsee::{
1213
core::{async_trait, client::ClientT},
@@ -16,6 +17,7 @@ use jsonrpsee::{
1617
{http_client::HttpClientBuilder, proc_macros::rpc},
1718
};
1819
use tokio::sync::Mutex;
20+
1921
use tap_aggregator::jsonrpsee_helpers;
2022
use tap_core::{
2123
adapters::{

tap_integration_tests/tests/showcase.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ use std::{
1313
str::FromStr,
1414
sync::{Arc, RwLock},
1515
};
16+
1617
use anyhow::{Error, Result};
1718
use ethers::{
1819
signers::{coins_bip39::English, LocalWallet, MnemonicBuilder, Signer},
@@ -23,6 +24,7 @@ use jsonrpsee::{core::client::ClientT, http_client::HttpClientBuilder, server::S
2324
use rand::{rngs::StdRng, Rng, SeedableRng};
2425
use rstest::*;
2526
use tokio::join;
27+
2628
use tap_aggregator::server as agg_server;
2729
use tap_core::{
2830
adapters::{
@@ -35,6 +37,7 @@ use tap_core::{
3537
tap_receipt::ReceiptCheck,
3638
tap_receipt::{Receipt, ReceivedReceipt},
3739
};
40+
3841
use crate::indexer_mock;
3942

4043
// Fixtures for gateway aggregator server

0 commit comments

Comments
 (0)