diff --git a/rococo/parachain/trappist/README.md b/rococo/parachain/trappist/README.md index 28ba8d2..1cabb6c 100644 --- a/rococo/parachain/trappist/README.md +++ b/rococo/parachain/trappist/README.md @@ -8,7 +8,7 @@ DOCKER_IMAGE=paritytech/trappist:polkadot-v0.9.37-patched-2 docker run $DOCKER_IMAGE trappist-node build-spec --chain trappist-rococo > ./trappist-base.json # 2. Merge trappist-base.json and trappist-override.json -jq -s '.[0] * .[1]' trappist-base.json trappist-override.json | sed 's/1e+18/1000000000000000000/' > ./chainspec-nonraw.json +jq -s '.[0] * .[1]' trappist-base.json trappist-override.json | sed 's/1e+18/1000000000000000000/' | sed 's/1.5e+18/1500000000000000000/' > ./chainspec-nonraw.json # 3. Convert to raw docker run --rm -v $(pwd):/dir -w /dir $DOCKER_IMAGE trappist-node build-spec --chain /dir/chainspec-nonraw.json --raw > ./chainspec.json diff --git a/rococo/parachain/trappist/chainspec-nonraw.json b/rococo/parachain/trappist/chainspec-nonraw.json index 5e8cc6f..9686958 100644 --- a/rococo/parachain/trappist/chainspec-nonraw.json +++ b/rococo/parachain/trappist/chainspec-nonraw.json @@ -28,7 +28,31 @@ "balances": { "balances": [ [ - "5CGHDgtYpLNEKYX2NEnTNs9K1FTket4Pps5cofYeDDFFoZkY", + "5EU1GR2zeLuSg8u7RiBR4pei5qWXqRozgFWUzVB91S5YU9bP", + 1500000000000000000 + ], + [ + "5DUcysvtts9dr8iMwMtr8BwvCRCZCBWHkvgUSr3g82krNu3h", + 1500000000000000000 + ], + [ + "5GmVYoczjqTwJBzr4xfUHwM8snFRaBkquKMEtH8yfjgR4P8P", + 1500000000000000000 + ], + [ + "5DAU36zH1M2XA7jQBcYe5qsw9KJdrpNqJDkdBEg8cjHN1mpf", + 1500000000000000000 + ], + [ + "5GQwv7zdhL5unpSA8AfqUKn8Hn3mGMWWKSTZepn4pKZjDV2H", + 1500000000000000000 + ], + [ + "5CeywDWSVtxiFemGCUNo7VRoNcbbQ66vNsT57dKPyfNBQmmZ", + 1500000000000000000 + ], + [ + "5HDhDdqSPfrViH4LAYKTAr6uyom4ZbpR1bWWrH5TeDVMX5RW", 1000000000000000000 ] ] @@ -77,8 +101,12 @@ "council": { "phantom": null, "members": [ - "5DFiAobYD93HR8HSnacLyywbP371EWY6kugpk33xqrtTUipH", - "5F6RV9Lx6DXPudiXAVkN5Lq7ffFczWNiUbwBEaNyo7u4cX23" + "5EU1GR2zeLuSg8u7RiBR4pei5qWXqRozgFWUzVB91S5YU9bP", + "5DUcysvtts9dr8iMwMtr8BwvCRCZCBWHkvgUSr3g82krNu3h", + "5GmVYoczjqTwJBzr4xfUHwM8snFRaBkquKMEtH8yfjgR4P8P", + "5DAU36zH1M2XA7jQBcYe5qsw9KJdrpNqJDkdBEg8cjHN1mpf", + "5GQwv7zdhL5unpSA8AfqUKn8Hn3mGMWWKSTZepn4pKZjDV2H", + "5CeywDWSVtxiFemGCUNo7VRoNcbbQ66vNsT57dKPyfNBQmmZ" ] }, "treasury": null, @@ -86,7 +114,7 @@ "phantom": null }, "sudo": { - "key": "5CGHDgtYpLNEKYX2NEnTNs9K1FTket4Pps5cofYeDDFFoZkY" + "key": "5HDhDdqSPfrViH4LAYKTAr6uyom4ZbpR1bWWrH5TeDVMX5RW" } } } diff --git a/rococo/parachain/trappist/chainspec.json b/rococo/parachain/trappist/chainspec.json index e122a56..6acc0b6 100644 --- a/rococo/parachain/trappist/chainspec.json +++ b/rococo/parachain/trappist/chainspec.json @@ -32,10 +32,16 @@ "0x26aa394eea5630e07c48ae0c9558cef78a42f33323cb5ced3b44dd825fda9fcc": "0x4545454545454545454545454545454545454545454545454545454545454545", "0x26aa394eea5630e07c48ae0c9558cef7a44704b568d21667356a5a050c118746b4def25cfda6ef3a00000000": "0x4545454545454545454545454545454545454545454545454545454545454545", "0x26aa394eea5630e07c48ae0c9558cef7a7fd6c28836b9a28522dc924110cf439": "0x01", + "0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da924c2d2b1638d099c0135f09e6215bcf3d00c901e43ab81cd9f26dc1b0c109a243134c47fee89d897f3fbf03e860c6d45": "0x000000000000000001000000000000000000167b0d12d1140000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da95ecffd7b6c0f78751baa9d281e0bfa3a6d6f646c70792f74727372790000000000000000000000000000000000000000": "0x0000000000000000010000000000000055a0fc01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da96b2e00d3fd5cc1a3adb6ba3bf3133b911a2477ef6ea36d70bc6058a97d9bbbdfea103710cf2fbb9586269db72ab98f1a": "0x000000000000000001000000000000000000167b0d12d1140000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da988b8bef2e16f736b86c8037f570bd2ff860414c40f0e7da6e844c36ee8bac2a1c2ceb6248d612c49897f6d13cf83ed15": "0x0000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da99c165b4cf6a379f07bdaef41b6963ce230a12eef517fb62d993a605bc98183fa9b2336197da9f34414bcbf67839d0b14": "0x000000000000000001000000000000000000167b0d12d1140000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da9bf97629a9c70ab23d5da482a4ccae64f6a3db76f636ce43faaf58dde5a71a8e03b9d4ae3b331cff85c092f5bf98d971b": "0x000000000000000001000000000000000000167b0d12d1140000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da9c1f6e330481e75c698f07a3d2a3e4bb334a0fc481d9bf5b4ed7b66fd2870d89207dec78e5dd3ef74f457870be8135104": "0x0000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", - "0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da9ca6e2d154871bec94e6469892e75acee08d401e08c1173a01aa54ac8f8e901370077df2f8ddfa3cbf275c496cd17fd16": "0x00000000000000000100000000000000000064a7b3b6e00d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da9c814781adf9f1de2bde9225a25cdc5c83e79b5cb39533bd4a20f1a4b8ca5e62d264164cdf1389d568f73bc3932b5144a": "0x000000000000000001000000000000000000167b0d12d1140000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da9d6996926a25be3b43e20776534ac6f69c0612ba544f0c34b5b0e102bfa7139e14cc7dc106ba7d34f317adca7fa30bb27": "0x000000000000000001000000000000000000167b0d12d1140000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "0x26aa394eea5630e07c48ae0c9558cef7b99d880ec681799c0cf30e8886371da9dc31281481cd40e44f568b047136aabee40839fde680c01344c20d47b7f08d2926b8a7537697356d416987a04a4453d0": "0x00000000000000000100000000000000000064a7b3b6e00d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0x26aa394eea5630e07c48ae0c9558cef7f9cce9c888469bb1a0dceaa129672ef8": "0x043c74726170706973742d726f636f636f", "0x2aeddc77fe58c98d50bd37f1b90840f94e7b9012096b41c4eb3aaf947f6ea429": "0x0000", "0x3a63": "0x", @@ -52,7 +58,7 @@ "0x57f8dc2f5ab09467896f47300f0424384e7b9012096b41c4eb3aaf947f6ea429": "0x0000", "0x57f8dc2f5ab09467896f47300f0424385e0621c4869aa60c02be9adcc98a0d1d": "0x0834a0fc481d9bf5b4ed7b66fd2870d89207dec78e5dd3ef74f457870be8135104860414c40f0e7da6e844c36ee8bac2a1c2ceb6248d612c49897f6d13cf83ed15", "0x5c0d1176a568c1f92944340dbfed9e9c4e7b9012096b41c4eb3aaf947f6ea429": "0x0000", - "0x5c0d1176a568c1f92944340dbfed9e9c530ebca703c85910e7164cb7d1c9e47b": "0x08d401e08c1173a01aa54ac8f8e901370077df2f8ddfa3cbf275c496cd17fd16", + "0x5c0d1176a568c1f92944340dbfed9e9c530ebca703c85910e7164cb7d1c9e47b": "0xe40839fde680c01344c20d47b7f08d2926b8a7537697356d416987a04a4453d0", "0x5e8a19e3cd1b7c148b33880c479c02814e7b9012096b41c4eb3aaf947f6ea429": "0x0000", "0x682a59d51ab9e48a8c8cc418ff9708d24e7b9012096b41c4eb3aaf947f6ea429": "0x0100", "0x6e9a9b71050cd23f2d7d1b72e8c1a6254e7b9012096b41c4eb3aaf947f6ea429": "0x0000", @@ -61,10 +67,10 @@ "0x7b3237373ffdfeb1cab4222e3b520d6b4e7b9012096b41c4eb3aaf947f6ea429": "0x0200", "0x89d139e01a5eb2256f222e5fc5dbe6b34e7b9012096b41c4eb3aaf947f6ea429": "0x0000", "0xaebd463ed9925c488c112434d61debc04e7b9012096b41c4eb3aaf947f6ea429": "0x0400", - "0xaebd463ed9925c488c112434d61debc0ba7fb8745735dc3be2a2c61a72c39e78": "0x0834a0fc481d9bf5b4ed7b66fd2870d89207dec78e5dd3ef74f457870be8135104860414c40f0e7da6e844c36ee8bac2a1c2ceb6248d612c49897f6d13cf83ed15", + "0xaebd463ed9925c488c112434d61debc0ba7fb8745735dc3be2a2c61a72c39e78": "0x186a3db76f636ce43faaf58dde5a71a8e03b9d4ae3b331cff85c092f5bf98d971b3e79b5cb39533bd4a20f1a4b8ca5e62d264164cdf1389d568f73bc3932b5144ad00c901e43ab81cd9f26dc1b0c109a243134c47fee89d897f3fbf03e860c6d4530a12eef517fb62d993a605bc98183fa9b2336197da9f34414bcbf67839d0b14c0612ba544f0c34b5b0e102bfa7139e14cc7dc106ba7d34f317adca7fa30bb271a2477ef6ea36d70bc6058a97d9bbbdfea103710cf2fbb9586269db72ab98f1a", "0xbd2a529379475088d3e29a918cd478724e7b9012096b41c4eb3aaf947f6ea429": "0x0000", "0xc2261276cc9d1f8598ea4b6a74b15c2f4e7b9012096b41c4eb3aaf947f6ea429": "0x0100", - "0xc2261276cc9d1f8598ea4b6a74b15c2f57c875e4cff74148e4628f264b974c80": "0x55a060a9b3b6e00d0000000000000000", + "0xc2261276cc9d1f8598ea4b6a74b15c2f57c875e4cff74148e4628f264b974c80": "0x55a0e48b0423c78a0000000000000000", "0xcd5c1f6df63bc97f4a8ce37f14a50ca74e7b9012096b41c4eb3aaf947f6ea429": "0x0100", "0xcec5070d609dd3497f72bde07fc96ba04c014e6bf8b8c2c011e7290b85696bb304af0377af06938534a0fc481d9bf5b4ed7b66fd2870d89207dec78e5dd3ef74f457870be8135104": "0x34a0fc481d9bf5b4ed7b66fd2870d89207dec78e5dd3ef74f457870be8135104", "0xcec5070d609dd3497f72bde07fc96ba04c014e6bf8b8c2c011e7290b85696bb351493c9616e741c8860414c40f0e7da6e844c36ee8bac2a1c2ceb6248d612c49897f6d13cf83ed15": "0x860414c40f0e7da6e844c36ee8bac2a1c2ceb6248d612c49897f6d13cf83ed15", diff --git a/rococo/parachain/trappist/prepare-test-net.sh b/rococo/parachain/trappist/prepare-test-net.sh index 64ea906..a00116c 100755 --- a/rococo/parachain/trappist/prepare-test-net.sh +++ b/rococo/parachain/trappist/prepare-test-net.sh @@ -69,15 +69,10 @@ CHAINSPEC='{ "relay_chain": "rococo", "genesis": { "runtime": { - '"${BALANCES}"', "collatorSelection": { '"${INVULNERABLES}"' }, - '"${SESSION}"', - '"${COUNCIL}"', - "sudo": { - "key": "'"$SUDO_ADDRESS"'" - } + '"${SESSION}"' } } } diff --git a/rococo/parachain/trappist/trappist-override.json b/rococo/parachain/trappist/trappist-override.json index 46a5a62..900bbae 100644 --- a/rococo/parachain/trappist/trappist-override.json +++ b/rococo/parachain/trappist/trappist-override.json @@ -9,14 +9,6 @@ "relay_chain": "rococo", "genesis": { "runtime": { - "balances": { - "balances": [ - [ - "5CGHDgtYpLNEKYX2NEnTNs9K1FTket4Pps5cofYeDDFFoZkY", - 1000000000000000000 - ] - ] - }, "collatorSelection": { "invulnerables": [ "5DFiAobYD93HR8HSnacLyywbP371EWY6kugpk33xqrtTUipH", @@ -40,16 +32,6 @@ } ] ] - }, - "council": { - "phantom": null, - "members": [ - "5DFiAobYD93HR8HSnacLyywbP371EWY6kugpk33xqrtTUipH", - "5F6RV9Lx6DXPudiXAVkN5Lq7ffFczWNiUbwBEaNyo7u4cX23" - ] - }, - "sudo": { - "key": "5CGHDgtYpLNEKYX2NEnTNs9K1FTket4Pps5cofYeDDFFoZkY" } } }