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

Introduce test runner biolerplate #2609

Merged
merged 81 commits into from
Jul 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
b35ad92
adds test-runner boilerplate
Mar 8, 2021
6c6f43d
revert to master
Mar 11, 2021
47ccd24
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Mar 11, 2021
f1a4d69
Update node/test/runtime/Cargo.toml
Mar 12, 2021
805932e
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Mar 23, 2021
a3fe178
Merge branch 'substrate-test-runner' of github.com:paritytech/polkado…
Mar 23, 2021
0b3550d
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Mar 24, 2021
7443700
fix warning
Mar 24, 2021
05435f6
fix warning
Mar 24, 2021
355ac3a
use polkadot_development_config
Mar 25, 2021
d2646f6
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Mar 25, 2021
00f4645
remove vestigial code
Mar 25, 2021
d5af7b4
...
Mar 25, 2021
76304c3
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Mar 25, 2021
3d8c73b
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Mar 29, 2021
a94a3e0
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Apr 8, 2021
553417b
remove unused dependencies
May 18, 2021
befda2c
adds simnet binary
May 18, 2021
a288560
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
May 18, 2021
da6003e
adds simnet binary
Jun 2, 2021
e7eb1a2
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Jun 2, 2021
5cc023b
merged with remote
Jun 2, 2021
f06884a
dummy to check pipeline
radupopa2010 Jun 14, 2021
695c08e
add 2 docker files and a build cmd
radupopa2010 Jun 15, 2021
f70ee4d
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Jun 16, 2021
c21ce1d
adds logging
Jun 16, 2021
f035db6
atempt to use binary from build host
radupopa2010 Jun 16, 2021
c69d5a1
fix simnet-binary
Jun 17, 2021
30bb361
Merge branch 'substrate-test-runner' of github.com:paritytech/polkado…
Jun 17, 2021
56b479b
fix docker commands
Jun 18, 2021
5b18c06
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Jun 18, 2021
f84bf59
switch branches
Jun 18, 2021
2d237b6
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Jun 18, 2021
8c84419
...
Jun 18, 2021
b0682ab
update docker file
radupopa2010 Jun 18, 2021
ceaab77
update the dockerfile 2
radupopa2010 Jun 18, 2021
ea7bd42
add some message in the cheatsheet
radupopa2010 Jun 18, 2021
b7c27dc
add repo to chaches stage also
radupopa2010 Jun 18, 2021
0b7b0ea
update paths
radupopa2010 Jun 21, 2021
24d9e39
do only 1 stage build
radupopa2010 Jun 21, 2021
b381be1
add time when build cmd started
radupopa2010 Jun 21, 2021
7507b22
remove debugg commands
radupopa2010 Jun 21, 2021
6026c5b
polkadot-simnet-substrate-working-version-v1
radupopa2010 Jun 21, 2021
4d8a500
reduce size of polkadot-simnet image
radupopa2010 Jun 22, 2021
561ce3f
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Jun 23, 2021
4d1f645
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Jun 23, 2021
a6e00bb
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Jun 24, 2021
7f8a3cf
update test runner api
Jun 24, 2021
e32950a
update test-runner
Jul 7, 2021
b3a2bc7
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Jul 7, 2021
4bd11e0
...
Jul 8, 2021
635da15
revert to master
Jul 8, 2021
a2ab97a
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Jul 8, 2021
0aba425
bump impl version
Jul 8, 2021
d71bdd8
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Jul 8, 2021
734ea3e
remove unused imports, fix test
Jul 8, 2021
51789bf
was_binary.to_vec()
Jul 8, 2021
0d0e8dc
Apply suggestions from code review
Jul 8, 2021
27934a4
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Jul 8, 2021
6ba18b6
Merge branch 'substrate-test-runner' of github.com:paritytech/polkado…
Jul 8, 2021
b9870fb
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Jul 8, 2021
8b55607
...
Jul 8, 2021
a25ebce
remove unused import
Jul 8, 2021
14403ba
remove unused import
Jul 9, 2021
b793029
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Jul 9, 2021
16344f9
adds post upgrade test
Jul 9, 2021
b6aa7f8
dry code
Jul 9, 2021
8d4cfef
revert spec_version
Jul 9, 2021
60c6189
update Cargo.lock
Jul 9, 2021
41bb9fb
tested and it works
Jul 9, 2021
02c9e40
compare runtime spec version
Jul 12, 2021
30c84e5
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Jul 12, 2021
a2d2d10
fix spaces, remove docker files
Jul 12, 2021
8c3a486
replace spaces with tabs
Jul 12, 2021
5d4c88c
Update runtime/polkadot/src/lib.rs
Jul 12, 2021
82af339
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Jul 12, 2021
df9b660
...
Jul 12, 2021
da0acb6
Merge branch 'substrate-test-runner' of github.com:paritytech/polkado…
Jul 12, 2021
52ff965
revert Cargo.lock
Jul 12, 2021
bfcbc0a
bump cargo.lock
Jul 12, 2021
42f6e0e
Merge branch 'master' of github.com:paritytech/polkadot into substrat…
Jul 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
450 changes: 294 additions & 156 deletions Cargo.lock

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ members = [
"node/metered-channel",
"node/test/client",
"node/test/service",
"node/test/polkadot-simnet/common",
"node/test/polkadot-simnet/node",
"node/test/polkadot-simnet/test",
"parachain/test-parachains",
"parachain/test-parachains/adder",
"parachain/test-parachains/adder/collator",
Expand Down
44 changes: 44 additions & 0 deletions node/test/polkadot-simnet/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[package]
name = "polkadot-simnet"
version = "0.9.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[dependencies]
system = { package = "frame-system", git = "https://github.com/paritytech/substrate", branch = "master" }
support = { package = "frame-support", git = "https://github.com/paritytech/substrate", branch = "master" }
benchmarking = { package = "frame-benchmarking", git = "https://github.com/paritytech/substrate", branch = "master" }
transaction-payment = { package = "pallet-transaction-payment", git = "https://github.com/paritytech/substrate", branch = "master" }
collective = { package = "pallet-collective", git = "https://github.com/paritytech/substrate", branch = "master" }
democracy = { package = "pallet-democracy", git = "https://github.com/paritytech/substrate", branch = "master" }

test-runner = { git = "https://github.com/paritytech/substrate", branch = "master" }
grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" }
sc-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-consensus-manual-seal = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-cli = { git = "https://github.com/paritytech/substrate", branch = "master" }

sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-consensus = { git = "https://github.com/paritytech/substrate", branch = "master" }

polkadot-primitives = { path = "../../../../primitives" }
polkadot-cli = { path = "../../../../cli", features = ["cli"] }
polkadot-service = { path = "../../../../node/service" }
polkadot-runtime = { path = "../../../../runtime/polkadot" }
polkadot-runtime-common = { path = "../../../../runtime/common" }

codec = { package = "parity-scale-codec", version = "2.0.0" }
structopt = "0.3.22"

[dev-dependencies]
log = "0.4.14"
Loading