Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] State Tracing #92

Closed
wants to merge 15 commits into from
488 changes: 231 additions & 257 deletions Cargo.lock

Large diffs are not rendered by default.

46 changes: 24 additions & 22 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@ xtra = { version = "0.5.0-beta.4", features = ["with-smol-0_3"] }
# Just a simple wrapper around std::thread that `joins on drop`
jod-thread = "0.1.2"
smol = { version = "0.3" }
coil = { git = "https://github.com/insipx/coil", package = "coil"}
coil = "0.2"
rmp-serde = "0.14"
itoa = "0.4.6"
include_dir = "0.6.0"
tempfile = "3.1.0"
arc-swap = "0.4.7"
tracing = "0.1"

# Optional
fern = { version = "0.6", features = ["colored"], optional = true }
Expand All @@ -44,30 +49,27 @@ codec = { package = "parity-scale-codec", version = "1.3", default-features = fa
hash-db = "0.15"

# Substrate
sp-database = { git = "https://github.com/paritytech/substrate", branch = "master", package="sp-database" }
sp-storage = { git = "https://github.com/paritytech/substrate", branch = "master", package = "sp-storage" }
sp-externalities = { git = "https://github.com/paritytech/substrate", branch = "master", package = "sp-externalities" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", package = "sp-runtime" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master", package = "sc-client-api" }
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master", package = "sp-blockchain" }
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", package = "sp-core" }
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", package = "sp-api" }
sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master", package = "sp-block-builder" }
sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", package = "sp-version" }
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master", package = "sc-executor" }
sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master", package = "sc-chain-spec" }
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master", package = "sp-trie" }
sp-state-machine = { git = "https://github.com/paritytech/substrate", branch = "master", package = "sp-state-machine" }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", package = "sp-io" }
itoa = "0.4.6"
include_dir = "0.6.0"
tempfile = "3.1.0"
async-executor = "0.1.2"
arc-swap = "0.4.7"
sp-database = { git = "https://github.com/paritytech/substrate", package="sp-database" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rev 35fe3cd1bc4b64cadb0bc6196ae40173db65bb28 is rather old (Aug 26) – what is stopping us from using master or 2.0, i.e. what motivated the change?

sp-storage = { git = "https://github.com/paritytech/substrate", package = "sp-storage" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }
sp-externalities = { git = "https://github.com/paritytech/substrate", package = "sp-externalities" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }
sp-runtime = { git = "https://github.com/paritytech/substrate", package = "sp-runtime" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }
sc-client-api = { git = "https://github.com/paritytech/substrate", package = "sc-client-api" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }
sp-blockchain = { git = "https://github.com/paritytech/substrate", package = "sp-blockchain" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }
sp-core = { git = "https://github.com/paritytech/substrate", package = "sp-core" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }
sp-api = { git = "https://github.com/paritytech/substrate", package = "sp-api" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }
sp-block-builder = { git = "https://github.com/paritytech/substrate", package = "sp-block-builder" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }
sp-version = { git = "https://github.com/paritytech/substrate", package = "sp-version" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }
sc-executor = { git = "https://github.com/paritytech/substrate", package = "sc-executor" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }
sc-chain-spec = { git = "https://github.com/paritytech/substrate", package = "sc-chain-spec" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }
sp-trie = { git = "https://github.com/paritytech/substrate", package = "sp-trie" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }
sp-state-machine = { git = "https://github.com/paritytech/substrate", package = "sp-state-machine" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }
sp-io = { git = "https://github.com/paritytech/substrate", package = "sp-io" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }
sc-tracing = { git = "https://github.com/paritytech/substrate", package = "sc-tracing" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }
sp-tracing = { git = "https://github.com/paritytech/substrate", package = "sp-tracing" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }

[dev-dependencies]
# desub-extras = { path = "../desub/extras/", package="desub-extras", features = ["polkadot"] }
polkadot-service = { package = "polkadot-service", git = "https://github.com/paritytech/polkadot", branch = "master" }
polkadot-service = { package = "polkadot-service", git = "https://github.com/insipx/polkadot", branch = "substrate-archive" }
pretty_env_logger = "0.4.0"
# used in tests for storing test data on disk
flate2 = "1.0"
Expand Down
4 changes: 2 additions & 2 deletions bin/node-template-archive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ edition = "2018"

[dependencies]
substrate-archive = { path = "../../", features = ["logging"] }
node-template-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, package = "node-template-runtime" }
node-template = { git = "https://github.com/paritytech/substrate", branch = "master", package = "node-template" }
node-template-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, package = "node-template-runtime" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }
node-template = { git = "https://github.com/paritytech/substrate", package = "node-template" , rev = "35fe3cd1bc4b64cadb0bc6196ae40173db65bb28" }
clap = { version = "2.33.1", features = ["yaml", "suggestions", "color"] }
toml = "0.5"
futures = "0.3.5"
Expand Down
Loading