Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jurshsmith committed Apr 20, 2024
1 parent e01e45c commit 4381924
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions chaindexing-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@ version = "0.1.0"
edition = "2021"

[dependencies]
async-trait = "0.1"
chaindexing = { path = "../chaindexing", features = ["postgres"] }
ethers = "2.0"
futures-util = "0.3"
dotenvy = "0.15"
diesel = { version = "2", features = ["postgres", "chrono"] }
rand = "0.8.5"
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.37", features = ["full"] }

3 changes: 2 additions & 1 deletion chaindexing-tests/src/tests/states.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,16 @@ mod tests {
}
}

use chaindexing::augmenting_std::serde::{Deserialize, Serialize};
use chaindexing::{
states::{ContractState, StateMigrations},
HasRawQueryClient,
};
use serde::{Deserialize, Serialize};

use crate::{factory::bayc_contract, test_runner};

#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
#[serde(crate = "chaindexing::augmenting_std::serde")]
struct Nft {
token_id: i32,
}
Expand Down

0 comments on commit 4381924

Please sign in to comment.