Skip to content

Commit

Permalink
Merge pull request #4 from gleb-urvanov/feature/execution_order_rando…
Browse files Browse the repository at this point in the history
…mization

Feature/execution order randomization
  • Loading branch information
gleb-urvanov authored Nov 8, 2020
2 parents 30f985a + 75aa935 commit 56d4986
Show file tree
Hide file tree
Showing 117 changed files with 40,186 additions and 57 deletions.
5 changes: 0 additions & 5 deletions .devcontainer/Dockerfile

This file was deleted.

18 changes: 0 additions & 18 deletions .devcontainer/devcontainer.json

This file was deleted.

59 changes: 30 additions & 29 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ members = [
'pallets/template',
'runtime',
]

[patch.crates-io]
sc-block-builder = { default-features = false, version = '0.8.0', path = './client/block-builder' }
sc-service = { default-features = false, version = '0.8.0', path = './client/service' }
sc-consensus-babe = { default-features = false, version = '0.8.0', path = './client/consensus/babe' }
sc-network = { default-features = false, version = '0.8.0', path = './client/network' }
pallet-timestamp = { path = './pallets/timestamp', default-features = false, version = '2.0.0' }
32 changes: 32 additions & 0 deletions client/block-builder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[package]
name = "sc-block-builder"
version = "0.8.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
description = "Substrate block builder"
readme = "README.md"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]


[dependencies]
log = "0.4.8"
sp-state-machine = "0.8.0"
sp-runtime = "2.0.0"
sp-api = "2.0.0"
sp-consensus = "0.8.0"
sp-blockchain = "2.0.0"
sp-core = "2.0.0"
sp-block-builder = "2.0.0"
sp-inherents = "2.0.0"
sc-client-api = "2.0.0"
codec = { package = "parity-scale-codec", version = "1.3.4", features = ["derive"] }
rand = "0.7.3"

[dev-dependencies]
#substrate-test-runtime-client = { path = "../../test-utils/runtime/client" }
sp-trie = "2.0.0"
9 changes: 9 additions & 0 deletions client/block-builder/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Substrate block builder

This crate provides the [`BlockBuilder`] utility and the corresponding runtime api
[`BlockBuilder`](sp_block_builder::BlockBuilder).Error

The block builder utility is used in the node as an abstraction over the runtime api to
initialize a block, to push extrinsics and to finalize a block.

License: GPL-3.0-or-later WITH Classpath-exception-2.0
Loading

0 comments on commit 56d4986

Please sign in to comment.