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

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixing authority discovery leak.
  • Loading branch information
mxinden committed Apr 11, 2020
1 parent b63c7b7 commit 6a482e7
Show file tree
Hide file tree
Showing 21 changed files with 418 additions and 418 deletions.
250 changes: 125 additions & 125 deletions Cargo.lock

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions availability-store/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ futures = "0.3.4"
tokio = { version = "0.2.13", features = ["rt-core"] }
exit-future = "0.2.0"
codec = { package = "parity-scale-codec", version = "1.3.0", features = ["derive"] }
sc-network = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
consensus_common = { package = "sp-consensus", git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
client = { package = "sc-client-api", git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sc-client = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-api = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
keystore = { package = "sc-keystore", git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sc-network = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
consensus_common = { package = "sp-consensus", git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
client = { package = "sc-client-api", git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sc-client = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-api = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
keystore = { package = "sc-keystore", git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
kvdb = "0.5.0"
kvdb-memorydb = "0.5.0"

Expand Down
24 changes: 12 additions & 12 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,26 @@ crate-type = ["cdylib", "rlib"]
log = "0.4.8"
futures = { version = "0.3.4", features = ["compat"] }
structopt = "0.3.8"
sp-api = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sc-client = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-api = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sc-client = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sc-client-db = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
service = { package = "polkadot-service", path = "../service", default-features = false }

tokio = { version = "0.2.13", features = ["rt-threaded"], optional = true }
frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names", optional = true }
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names", optional = true }
sc-service = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names", optional = true }
frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak", optional = true }
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak", optional = true }
sc-service = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak", optional = true }

wasm-bindgen = { version = "0.2.57", optional = true }
wasm-bindgen-futures = { version = "0.4.7", optional = true }
browser-utils = { package = "substrate-browser-utils", git = "https://github.com/paritytech/substrate", branch = "tka-channel-names", optional = true }
browser-utils = { package = "substrate-browser-utils", git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak", optional = true }

[build-dependencies]
substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }

[features]
default = [ "wasmtime", "rocksdb", "cli" ]
Expand Down
20 changes: 10 additions & 10 deletions collator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ edition = "2018"

[dependencies]
futures = "0.3.4"
sc-client = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sc-network = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-api = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
consensus_common = { package = "sp-consensus", git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sc-client = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sc-network = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-api = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
consensus_common = { package = "sp-consensus", git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
polkadot-primitives = { path = "../primitives" }
polkadot-cli = { path = "../cli" }
polkadot-network = { path = "../network" }
Expand All @@ -27,4 +27,4 @@ futures-timer = "2.0"
codec = { package = "parity-scale-codec", version = "1.3.0" }

[dev-dependencies]
keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
4 changes: 2 additions & 2 deletions erasure-coding/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ edition = "2018"
primitives = { package = "polkadot-primitives", path = "../primitives" }
reed_solomon = { package = "reed-solomon-erasure", version = "4.0.2"}
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
derive_more = "0.15.0"
18 changes: 9 additions & 9 deletions network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ polkadot-validation = { path = "../validation" }
polkadot-primitives = { path = "../primitives" }
polkadot-erasure-coding = { path = "../erasure-coding" }
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
sc-network = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sc-network-gossip = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sc-network = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sc-network-gossip = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
futures = "0.3.4"
log = "0.4.8"
exit-future = "0.2.0"
futures-timer = "2.0"
sc-client = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-api = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sc-client = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-api = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
wasm-timer = "0.2.4"

[dev-dependencies]
sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
18 changes: 9 additions & 9 deletions network/test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ log = "0.4.8"
parking_lot = "0.10.0"
futures = "0.3.1"
rand = "0.7.2"
sc-network = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sc-network-test = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sc-client = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sc-network = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sc-network-test = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sc-client = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
env_logger = "0.7.0"
polkadot-test-runtime-client = { path = "../../runtime/test-runtime/client" }
14 changes: 7 additions & 7 deletions parachain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ edition = "2018"
# this crate for WASM. This is critical to avoid forcing all parachain WASM into implementing
# various unnecessary Substrate-specific endpoints.
codec = { package = "parity-scale-codec", version = "1.1.0", default-features = false, features = [ "derive" ] }
sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "tka-channel-names", default-features = false }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names", default-features = false }
sp-wasm-interface = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names", default-features = false }
sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak", default-features = false }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak", default-features = false }
sp-wasm-interface = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak", default-features = false }

# all optional crates.
derive_more = { version = "0.99.2", optional = true }
serde = { version = "1.0.102", default-features = false, features = [ "derive" ], optional = true }
sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names", optional = true, default-features = false }
sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names", optional = true }
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names", optional = true }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names", optional = true }
sp-runtime-interface = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak", optional = true, default-features = false }
sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak", optional = true }
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak", optional = true }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak", optional = true }
parking_lot = { version = "0.10.0", optional = true }
log = { version = "0.4.8", optional = true }

Expand Down
2 changes: 1 addition & 1 deletion parachain/test-parachains/adder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tiny-keccak = "1.5.0"
dlmalloc = { version = "0.1.3", features = [ "global" ] }

# We need to make sure the global allocator is disabled until we have support of full substrate externalities
runtime-io = { package = "sp-io", git = "https://github.com/paritytech/substrate", branch = "tka-channel-names", default-features = false, features = [ "disable_allocator" ] }
runtime-io = { package = "sp-io", git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak", default-features = false, features = [ "disable_allocator" ] }

[build-dependencies]
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.5" }
Expand Down
6 changes: 3 additions & 3 deletions parachain/test-parachains/adder/collator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ adder = { package = "test-parachain-adder", path = ".." }
parachain = { package = "polkadot-parachain", path = "../../.." }
collator = { package = "polkadot-collator", path = "../../../../collator" }
primitives = { package = "polkadot-primitives", path = "../../../../primitives" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
client = { package = "sc-client", git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
client-api = { package = "sc-client-api", git = "https://github.com/paritytech/substrate", branch = "tka-channel-names" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
client = { package = "sc-client", git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
client-api = { package = "sc-client-api", git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak" }
parking_lot = "0.10.0"
codec = { package = "parity-scale-codec", version = "1.2.0" }
futures = "0.3.4"
2 changes: 1 addition & 1 deletion parachain/test-parachains/code-upgrader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tiny-keccak = "1.5.0"
dlmalloc = { version = "0.1.3", features = [ "global" ] }

# We need to make sure the global allocator is disabled until we have support of full substrate externalities
runtime-io = { package = "sp-io", git = "https://github.com/paritytech/substrate", branch = "tka-channel-names", default-features = false, features = [ "disable_allocator" ] }
runtime-io = { package = "sp-io", git = "https://github.com/paritytech/substrate", branch = "mxinden-auth-disc-leak", default-features = false, features = [ "disable_allocator" ] }

[build-dependencies]
wasm-builder-runner = { package = "substrate-wasm-builder-runner", version = "1.0.5" }
Expand Down
Loading

0 comments on commit 6a482e7

Please sign in to comment.