Skip to content

Commit d6ba163

Browse files
authored
graph, runtime: Update ethabi to its latest version
1 parent 01a811e commit d6ba163

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

Cargo.lock

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

NEWS.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# NEWS
22

33
## Unreleased
4-
- Gracefully handle syntax errors on fulltext search. Specifically provides information about common use case
5-
where whitespace characters were part of the terms.
4+
- Gracefully handle syntax errors on fulltext search. Specifically provides information about common use case
5+
where whitespace characters were part of the terms.
6+
- Adds support for Solidity Custom Errors (issue #2577)
67

78
## 0.25.0
89

graph/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ chrono = "0.4.19"
1616
Inflector = "0.11.3"
1717
isatty = "0.1.9"
1818
reqwest = { version = "0.11.2", features = ["json", "stream", "multipart"] }
19-
ethabi = "14.0"
19+
ethabi = "16.0"
2020
hex = "0.4.3"
2121
http = "0.2.3"
2222
fail = { version = "0.5", features = ["failpoints"] }

runtime/wasm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2018"
66
[dependencies]
77
async-trait = "0.1.50"
88
atomic_refcell = "0.1.8"
9-
ethabi = "14.0"
9+
ethabi = "16.0"
1010
futures = "0.1.21"
1111
hex = "0.4.3"
1212
graph = { path = "../../graph" }

runtime/wasm/src/host_exports.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
use crate::{error::DeterminismLevel, module::IntoTrap};
2-
use ethabi::param_type::Reader;
3-
use ethabi::{decode, encode, Token};
42
use graph::blockchain::DataSource;
53
use graph::blockchain::{Blockchain, DataSourceTemplate as _};
64
use graph::components::store::EntityKey;
75
use graph::components::store::EntityType;
86
use graph::components::subgraph::{CausalityRegion, ProofOfIndexingEvent, SharedProofOfIndexing};
97
use graph::data::store;
8+
use graph::prelude::ethabi::param_type::Reader;
9+
use graph::prelude::ethabi::{decode, encode, Token};
1010
use graph::prelude::serde_json;
1111
use graph::prelude::{slog::b, slog::record_static, *};
1212
use graph::runtime::gas::{self, complexity, Gas, GasCounter};

0 commit comments

Comments
 (0)