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

Commit ec29c58

Browse files
committed
Merge remote-tracking branch 'origin/master' into joe1232b
2 parents fdb4263 + 72c16f3 commit ec29c58

File tree

17 files changed

+356
-97
lines changed

17 files changed

+356
-97
lines changed

Cargo.lock

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

core/client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ state-machine = { package = "substrate-state-machine", path = "../state-machine"
1919
keyring = { package = "substrate-keyring", path = "../keyring", optional = true }
2020
trie = { package = "substrate-trie", path = "../trie", optional = true }
2121
substrate-telemetry = { path = "../telemetry", optional = true }
22-
hash-db = { git = "https://github.com/paritytech/trie", optional = true }
22+
hash-db = { version = "0.9" , optional = true }
2323
kvdb = { git = "https://github.com/paritytech/parity-common", optional = true, rev="b0317f649ab2c665b7987b8475878fc4d2e1f81d" }
2424

2525
codec = { package = "parity-codec", version = "2.1", default-features = false }

core/client/db/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ kvdb = { git = "https://github.com/paritytech/parity-common", rev="b0317f649ab2c
1010
# FIXME replace with release as soon as our rocksdb changes are released upstream https://github.com/paritytech/parity-common/issues/88
1111
kvdb-rocksdb = { git = "https://github.com/paritytech/parity-common", rev="b0317f649ab2c665b7987b8475878fc4d2e1f81d" }
1212
lru-cache = "0.1"
13-
hash-db = { git = "https://github.com/paritytech/trie" }
13+
hash-db = { version = "0.9" }
1414
substrate-primitives = { path = "../../primitives" }
1515
sr-primitives = { path = "../../sr-primitives" }
1616
substrate-client = { path = "../../client" }

core/primitives/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ byteorder = { version = "1.1", default-features = false }
1515
primitive-types = { version = "0.1", default-features = false, features = ["codec"] }
1616
impl-serde = { version = "0.1", optional = true }
1717
wasmi = { version = "0.4.3", optional = true }
18-
hash-db = { git = "https://github.com/paritytech/trie", default-features = false }
19-
hash256-std-hasher = { git = "https://github.com/paritytech/trie", default-features = false }
18+
hash-db = { version = "0.9", default-features = false }
19+
hash256-std-hasher = { version = "0.9", default-features = false }
2020
ring = { version = "0.13", optional = true }
2121
untrusted = { version = "0.6", optional = true }
2222
hex-literal = { version = "0.1", optional = true }

core/sr-io/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ rustc_version = "0.2"
1111
sr-std = { path = "../sr-std", default-features = false }
1212
substrate-primitives = { path = "../primitives", default-features = false }
1313
parity-codec = { version = "2.2", default-features = false }
14-
hash-db = { git = "https://github.com/paritytech/trie", default-features = false }
14+
hash-db = { version = "0.9", default-features = false }
1515

1616
environmental = { version = "~1.0", optional = true }
1717
substrate-state-machine = { path = "../state-machine", optional = true }

core/state-machine/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ hex-literal = "0.1.0"
99
log = "0.4"
1010
parking_lot = "0.7.1"
1111
heapsize = "0.4"
12-
hash-db = { git = "https://github.com/paritytech/trie" }
13-
trie-db = { git = "https://github.com/paritytech/trie" }
14-
trie-root = { git = "https://github.com/paritytech/trie" }
12+
hash-db = "0.9"
13+
trie-db = "0.9"
14+
trie-root = "0.9"
1515
substrate-trie = { path = "../trie" }
1616
substrate-primitives = { path = "../primitives" }
1717
parity-codec = "2.2"
Binary file not shown.

core/trie/Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ harness = false
1212

1313
[dependencies]
1414
parity-codec = { version = "2.2" }
15-
hash-db = { git = "https://github.com/paritytech/trie", default-features = false }
16-
trie-db = { git = "https://github.com/paritytech/trie", optional = true }
17-
trie-root = { git = "https://github.com/paritytech/trie", default-features = false }
18-
memory-db = { git = "https://github.com/paritytech/trie", optional = true }
15+
hash-db = { version = "0.9", default-features = false }
16+
trie-db = { version = "0.9", optional = true }
17+
trie-root = { version = "0.9", default-features = false }
18+
memory-db = { version = "0.9", optional = true }
1919

2020
[dev-dependencies]
2121
substrate-primitives = { path = "../primitives" }
22-
trie-bench = { git = "https://github.com/paritytech/trie" }
23-
trie-standardmap = { git = "https://github.com/paritytech/trie" }
24-
keccak-hasher = { git = "https://github.com/paritytech/trie" }
22+
trie-bench = { version = "0.9" }
23+
trie-standardmap = { version = "0.9" }
24+
keccak-hasher = { version = "0.2" }
2525
criterion = "0.1.2"
2626
hex-literal = "0.1.0"
2727

node/executor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "Substrate node implementation in Rust."
66

77
[dependencies]
88
hex-literal = "0.1"
9-
trie-root = { git = "https://github.com/paritytech/trie" }
9+
trie-root = "0.9"
1010
parity-codec = "2.2"
1111
sr-io = { path = "../../core/sr-io" }
1212
substrate-state-machine = { path = "../../core/state-machine" }

node/runtime/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,11 @@ impl treasury::Trait for Runtime {
206206
}
207207

208208
impl contract::Trait for Runtime {
209+
type Call = Call;
210+
type Event = Event;
209211
type Gas = u64;
210212
type DetermineContractAddress = contract::SimpleAddressDeterminator<Runtime>;
211-
type Event = Event;
213+
type ComputeDispatchFee = contract::DefaultDispatchFeeComputor<Runtime>;
212214
}
213215

214216
impl sudo::Trait for Runtime {

0 commit comments

Comments
 (0)