Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit fb84c46

Browse files
serban300bkchr
authored andcommitted
Fix chain_spec_as_json_fails_with_invalid_config
1 parent a230a37 commit fb84c46

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

substrate/client/chain-spec/res/chain_spec_as_json_fails_with_invalid_config.err

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
Invalid JSON blob: unknown field `babex`, expected one of `system`, `babe`, `substrateTest`, `balances` at line 2 column 9 for blob:
1+
Invalid JSON blob: unknown field `babex`, expected one of `system`, `babe`, `substrateTest`, `balances` at line 3 column 9 for blob:
22
{
3+
"system": {},
34
"babex": {
45
"authorities": [
56
[
@@ -16,13 +17,20 @@ Invalid JSON blob: unknown field `babex`, expected one of `system`, `babe`, `sub
1617
]
1718
],
1819
"epochConfig": {
19-
"allowed_slots": "PrimaryAndSecondaryPlainSlots",
2020
"c": [
2121
3,
2222
10
23-
]
23+
],
24+
"allowed_slots": "PrimaryAndSecondaryPlainSlots"
2425
}
2526
},
27+
"substrateTest": {
28+
"authorities": [
29+
"5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY",
30+
"5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty",
31+
"5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y"
32+
]
33+
},
2634
"balances": {
2735
"balances": [
2836
[
@@ -102,13 +110,5 @@ Invalid JSON blob: unknown field `babex`, expected one of `system`, `babe`, `sub
102110
100000000000000000
103111
]
104112
]
105-
},
106-
"substrateTest": {
107-
"authorities": [
108-
"5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY",
109-
"5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty",
110-
"5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y"
111-
]
112-
},
113-
"system": {}
113+
}
114114
}

0 commit comments

Comments
 (0)