Skip to content

Commit 0fff418

Browse files
timwu20danforbesqdm12
authored
fix(ci): embed v0.9.20 runtime, update test suite, and ci workflows (#2543)
* Add v0.9.20 chain specs & configs Closes #2419 * re-add gssmr config.toml * rename files back to old names * wip * use raw methods for build spec command * fix(ci): fix `dot` unit tests (#2561) * fix dot tests, remove life runtime * remove life * fix(ci): fix dot/network unit tests (#2572) * move to integration test, hardcode protocol id * remove logs, restore original test * cr feedback * fix(ci): fix dot/rpc/modules unit tests #2581 * fix(ci): embed old `gssmr` and `dev` runtimes for integration tests (#2671) * restore old chain as gssmr-v3substrate, add genesis utils, update TestNodeRuntime_ValidateTransaction * upgrade chaindb * add todos to create new issues, test against old runtime * use v3substrate runtime for dot/core integration tests * lib/babe integration tests use old dev runtime * fix lint * fix grandpa stress tests * use old dev chain for stress tests * update rpc tests * revise polkadotjstests to old dev runtime * Update lib/genesis/test_utils.go Co-authored-by: Quentin McGaw <[email protected]> * Update lib/utils/utils.go Co-authored-by: Quentin McGaw <[email protected]> * Update lib/utils/utils.go Co-authored-by: Quentin McGaw <[email protected]> * Update lib/utils/utils.go Co-authored-by: Quentin McGaw <[email protected]> * Update lib/utils/utils.go Co-authored-by: Quentin McGaw <[email protected]> * Update lib/utils/utils.go Co-authored-by: Quentin McGaw <[email protected]> * remove config and go code from old runtimes * undo new require in go.mod Co-authored-by: Quentin McGaw <[email protected]> * remove debugging sleep * remove unneeded files from chains * fix up go.mod * restore old go.mod * Apply suggestions from code review Co-authored-by: Quentin McGaw <[email protected]> * add todo Co-authored-by: Dan Forbes <[email protected]> Co-authored-by: Quentin McGaw <[email protected]>
1 parent 2e57b1e commit 0fff418

40 files changed

+2317
-795
lines changed

chain/dev-staking/dev-staking-spec-raw.json

Lines changed: 83 additions & 0 deletions
Large diffs are not rendered by default.

chain/dev-staking/dev-staking-spec.json

Lines changed: 89 additions & 0 deletions
Large diffs are not rendered by default.

chain/dev-v3substrate/genesis-spec.json

Lines changed: 316 additions & 0 deletions
Large diffs are not rendered by default.

chain/dev-v3substrate/genesis.json

Lines changed: 57 additions & 0 deletions
Large diffs are not rendered by default.

chain/dev/config.toml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ digest = ""
1818
genesis = "./chain/dev/genesis-spec.json"
1919

2020
[account]
21-
key = "alice"
21+
key = ""
2222
unlock = ""
2323

2424
[core]
@@ -37,7 +37,18 @@ enabled = true
3737
ws = true
3838
port = 8545
3939
host = "localhost"
40-
modules = ["system", "author", "chain", "state", "rpc", "grandpa", "offchain", "childstate", "syncstate", "payment"]
40+
modules = [
41+
"system",
42+
"author",
43+
"chain",
44+
"state",
45+
"rpc",
46+
"grandpa",
47+
"offchain",
48+
"childstate",
49+
"syncstate",
50+
"payment",
51+
]
4152
ws-port = 8546
4253

4354
[pprof]

chain/dev/genesis-spec.json

Lines changed: 45 additions & 297 deletions
Large diffs are not rendered by default.

chain/dev/genesis.json

Lines changed: 45 additions & 55 deletions
Large diffs are not rendered by default.

chain/gssmr-staking/gssmr-staking-spec-raw.json

Lines changed: 100 additions & 0 deletions
Large diffs are not rendered by default.

chain/gssmr-staking/gssmr-staking-spec.json

Lines changed: 136 additions & 0 deletions
Large diffs are not rendered by default.

chain/gssmr-v3substrate/genesis-spec.json

Lines changed: 346 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)