Bump ethabi & ethereum-types. (#8258)
* Bump ethabi & ethereum-types. * Fix test. * Fix hex encodings.
This commit is contained in:
committed by
André Silva
parent
c1cced3662
commit
9108a3bb50
@@ -24,7 +24,7 @@ ethcore-logger = { path = "../logger" }
|
||||
ethcore-miner = { path = "../miner" }
|
||||
ethcore-stratum = { path = "../stratum" }
|
||||
ethcore-transaction = { path = "./transaction" }
|
||||
ethereum-types = "0.2"
|
||||
ethereum-types = "0.3"
|
||||
memory-cache = { path = "../util/memory_cache" }
|
||||
ethabi = "5.1"
|
||||
ethabi-derive = "5.0"
|
||||
|
||||
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
|
||||
|
||||
[dependencies]
|
||||
bit-set = "0.4"
|
||||
ethereum-types = "0.2"
|
||||
ethereum-types = "0.3"
|
||||
evmjit = { path = "../../evmjit", optional = true }
|
||||
heapsize = "0.4"
|
||||
lazy_static = "1.0"
|
||||
|
||||
@@ -11,7 +11,7 @@ log = "0.3"
|
||||
ethcore = { path = ".."}
|
||||
ethcore-bytes = { path = "../../util/bytes" }
|
||||
ethcore-transaction = { path = "../transaction" }
|
||||
ethereum-types = "0.2"
|
||||
ethereum-types = "0.3"
|
||||
memorydb = { path = "../../util/memorydb" }
|
||||
patricia-trie = { path = "../../util/patricia_trie" }
|
||||
ethcore-network = { path = "../../util/network" }
|
||||
|
||||
@@ -405,7 +405,7 @@ fn get_block_receipts() {
|
||||
// by the test client in that case.
|
||||
let block_hashes: Vec<H256> = (0..1000)
|
||||
.map(|i| provider.client.block_header(BlockId::Number(i)).unwrap().hash())
|
||||
.filter(|hash| format!("{}", hash).starts_with("f"))
|
||||
.filter(|hash| format!("{}", hash).starts_with("0xf"))
|
||||
.take(10)
|
||||
.collect();
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
|
||||
[dependencies]
|
||||
ethcore = { path = ".."}
|
||||
ethcore-network-devp2p = { path = "../../util/network-devp2p" }
|
||||
ethereum-types = "0.2"
|
||||
ethereum-types = "0.3"
|
||||
log = "0.3"
|
||||
parking_lot = "0.5"
|
||||
ethabi = "5.1"
|
||||
|
||||
@@ -12,7 +12,7 @@ heapsize = "0.4"
|
||||
keccak-hash = { path = "../../util/hash" }
|
||||
rlp = { path = "../../util/rlp" }
|
||||
unexpected = { path = "../../util/unexpected" }
|
||||
ethereum-types = "0.2"
|
||||
ethereum-types = "0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
rustc-hex= "1.0"
|
||||
|
||||
@@ -8,7 +8,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
|
||||
rlp = { path = "../../util/rlp" }
|
||||
rlp_derive = { path = "../../util/rlp_derive" }
|
||||
ethcore-bytes = { path = "../../util/bytes" }
|
||||
ethereum-types = "0.2"
|
||||
ethereum-types = "0.3"
|
||||
ethjson = { path = "../../json" }
|
||||
keccak-hash = { path = "../../util/hash" }
|
||||
heapsize = "0.4"
|
||||
|
||||
@@ -6,7 +6,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
|
||||
[dependencies]
|
||||
byteorder = "1.0"
|
||||
ethcore-bytes = { path = "../../util/bytes" }
|
||||
ethereum-types = "0.2"
|
||||
ethereum-types = "0.3"
|
||||
patricia-trie = { path = "../../util/patricia_trie" }
|
||||
log = "0.3"
|
||||
common-types = { path = "../types" }
|
||||
|
||||
@@ -5,7 +5,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
|
||||
|
||||
[dependencies]
|
||||
byteorder = "1.0"
|
||||
ethereum-types = "0.2"
|
||||
ethereum-types = "0.3"
|
||||
log = "0.3"
|
||||
parity-wasm = "0.27"
|
||||
libc = "0.2"
|
||||
|
||||
@@ -7,7 +7,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
|
||||
serde = "1"
|
||||
serde_json = "1"
|
||||
serde_derive = "1"
|
||||
ethereum-types = "0.2"
|
||||
ethereum-types = "0.3"
|
||||
ethjson = { path = "../../../json" }
|
||||
vm = { path = "../../vm" }
|
||||
wasm = { path = "../" }
|
||||
|
||||
@@ -79,17 +79,17 @@ impl fmt::Display for Fail {
|
||||
write!(
|
||||
f,
|
||||
"Storage key {} value mismatch, expected {}, got: {}",
|
||||
key.as_ref().to_vec().to_hex(),
|
||||
expected.as_ref().to_vec().to_hex(),
|
||||
actual.as_ref().to_vec().to_hex(),
|
||||
key.to_vec().to_hex(),
|
||||
expected.to_vec().to_hex(),
|
||||
actual.to_vec().to_hex(),
|
||||
),
|
||||
|
||||
StorageMismatch { ref key, ref expected, actual: None} =>
|
||||
write!(
|
||||
f,
|
||||
"No expected storage value for key {} found, expected {}",
|
||||
key.as_ref().to_vec().to_hex(),
|
||||
expected.as_ref().to_vec().to_hex(),
|
||||
key.to_vec().to_hex(),
|
||||
expected.to_vec().to_hex(),
|
||||
),
|
||||
|
||||
Nonconformity(SpecNonconformity::Address) =>
|
||||
|
||||
Reference in New Issue
Block a user