Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 748324f

Browse files
author
Jannis Pohlmann
committed
graphql: Use re-exported web3 from the graph crate
1 parent c22b27f commit 748324f

File tree

3 files changed

+1
-86
lines changed

3 files changed

+1
-86
lines changed

Cargo.lock

Lines changed: 0 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

graphql/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ serde_derive = "1.0"
1616
pretty_assertions = "0.5.1"
1717
graph-mock = { path = "../mock" }
1818
graph-core = { path = "../core" }
19-
web3 = { git = "https://github.com/tomusdrw/rust-web3" }

graphql/tests/query.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,13 @@ extern crate pretty_assertions;
55
extern crate graph;
66
extern crate graph_core;
77
extern crate graph_graphql;
8-
extern crate web3;
98

109
use graphql_parser::query as q;
1110
use std::sync::Mutex;
12-
use web3::types::Block;
13-
use web3::types::Transaction;
14-
use web3::types::H256;
1511

1612
use graph::components::store::EventSource;
1713
use graph::prelude::*;
14+
use graph::web3::types::{Block, Transaction, H256};
1815
use graph_graphql::prelude::*;
1916

2017
fn test_schema() -> Schema {

0 commit comments

Comments
 (0)