feat: new ethabi for error types (#700)
This commit is contained in:
parent
cf53924334
commit
4d647453e3
|
@ -1067,11 +1067,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "ethabi"
|
||||
version = "15.0.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f76ef192b63e8a44b3d08832acebbb984c3fba154b5c26f70037c860202a0d4b"
|
||||
version = "16.0.0"
|
||||
source = "git+https://github.com/rust-ethereum/ethabi?branch=master#7f4bb3d6164775928485b2bad2f6e130a96f438e"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"ethereum-types",
|
||||
"hex",
|
||||
"serde",
|
||||
|
@ -4142,3 +4140,8 @@ dependencies = [
|
|||
"syn",
|
||||
"synstructure",
|
||||
]
|
||||
|
||||
[[patch.unused]]
|
||||
name = "ethabi"
|
||||
version = "16.0.0"
|
||||
source = "git+https://github.com/rust-ethereum/ethabi#7f4bb3d6164775928485b2bad2f6e130a96f438e"
|
||||
|
|
|
@ -11,7 +11,7 @@ keywords = ["ethereum", "web3", "celo", "ethers"]
|
|||
|
||||
[dependencies]
|
||||
rlp = { version = "0.5.0", default-features = false }
|
||||
ethabi = { version = "15.0", default-features = false, features = ["full-serde", "rlp"] }
|
||||
ethabi = { git = "https://github.com/rust-ethereum/ethabi", branch = "master", default-features = false, features = ["full-serde", "rlp"] }
|
||||
arrayvec = { version = "0.7.2", default-features = false }
|
||||
rlp-derive = { version = "0.1.0", default-features = false }
|
||||
|
||||
|
|
|
@ -55,6 +55,7 @@ impl AbiParser {
|
|||
constructor: None,
|
||||
functions: BTreeMap::new(),
|
||||
events: BTreeMap::new(),
|
||||
errors: BTreeMap::new(),
|
||||
receive: false,
|
||||
fallback: false,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue