Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #16 from koushiro/evm-companion-141
Browse files Browse the repository at this point in the history
Companion of evm#141
  • Loading branch information
sorpaas authored Nov 14, 2022
2 parents 4f7e566 + e0185d8 commit 41b2e25
Show file tree
Hide file tree
Showing 9 changed files with 89 additions and 352 deletions.
262 changes: 80 additions & 182 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ethcore-builtin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ edition = "2018"
bn = { git = "https://github.com/paritytech/bn", default-features = false }
byteorder = "1.3.2"
eip-152 = { path = "../EIP-152" }
ethereum-types = "0.13"
ethereum-types = "0.14"
ethjson = { path = "../ethjson" }
keccak-hash = "0.7"
keccak-hash = "0.10"
log = "0.4"
num = "0.2"
parity-bytes = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion ethjson/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[dependencies]
ethereum-types = "0.13"
ethereum-types = "0.14"
rustc-hex = "2.1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
Expand Down
8 changes: 4 additions & 4 deletions jsontests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ edition = "2018"

[dependencies]
evm = { path = "../evm" }
primitive-types = "0.11"
ethereum = "0.14.0"
primitive-types = "0.12"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
hex = "0.4"
clap = "2.32"
ethjson = { path = "../ethjson", features = ["test-helpers"] }
libsecp256k1 = "0.7"
triehash-ethereum = { path = "../triehash-ethereum" }
ethcore-builtin = { path = "../ethcore-builtin" }
rlp = "0.5"
sha3 = "0.8"
sha3 = "0.10"
parity-bytes = "0.1"
env_logger = "0.8"
env_logger = "0.9"
lazy_static = "1.4.0"
4 changes: 2 additions & 2 deletions jsontests/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ pub fn assert_valid_hash(h: &H256, b: &BTreeMap<H160, MemoryAccount>) {
let tree = b
.iter()
.map(|(address, account)| {
let storage_root = triehash_ethereum::sec_trie_root(
let storage_root = ethereum::util::sec_trie_root(
account
.storage
.iter()
Expand All @@ -143,7 +143,7 @@ pub fn assert_valid_hash(h: &H256, b: &BTreeMap<H160, MemoryAccount>) {
})
.collect::<Vec<_>>();

let root = triehash_ethereum::sec_trie_root(tree);
let root = ethereum::util::sec_trie_root(tree);
let expect = h.clone().into();

if root != expect {
Expand Down
13 changes: 0 additions & 13 deletions keccak-hasher/Cargo.toml

This file was deleted.

41 changes: 0 additions & 41 deletions keccak-hasher/src/lib.rs

This file was deleted.

11 changes: 0 additions & 11 deletions triehash-ethereum/Cargo.toml

This file was deleted.

96 changes: 0 additions & 96 deletions triehash-ethereum/src/lib.rs

This file was deleted.

0 comments on commit 41b2e25

Please sign in to comment.