From 0e3f594325227d330ea8dda8ab18959824644219 Mon Sep 17 00:00:00 2001 From: Aliaksandr Tsurko Date: Mon, 9 Dec 2024 18:19:20 +0100 Subject: [PATCH 1/3] Update devnet chainspec --- node/src/chain_spec/devnet.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/node/src/chain_spec/devnet.rs b/node/src/chain_spec/devnet.rs index ddb2dedf2..cb3bc6692 100644 --- a/node/src/chain_spec/devnet.rs +++ b/node/src/chain_spec/devnet.rs @@ -30,23 +30,23 @@ pub fn devnet_config() -> Result { // Keys for debug authority_keys_from_ss58( "5D5ABUyMsdmJdH7xrsz9vREq5eGXr5pXhHxix2dENQR62dEo", - "5DLBJuPvyPYit5h5ZaYiF8NvCweXCozUs6pLx3fng1mdVcbw", + "5H3qMjQjoeZxZ98jzDmoCwbz2sugd5fDN1wrr8Phf49zemKL", ), authority_keys_from_ss58( "5GbRc5sNDdhcPAU9suV2g9P5zyK1hjAQ9JHeeadY1mb8kXoM", - "5ELAzpniRUzAtvydVLmfs5ogbjzoBVxfn6XrN91ahBeDukoY", + "5GbkysfaCjK3cprKPhi3CUwaB5xWpBwcfrkzs6FmqHxej8HZ", ), authority_keys_from_ss58( "5CoVWwBwXz2ndEChGcS46VfSTb3RMUZzZzAYdBKo263zDhEz", - "5EHVLDoMqjWrBnUrNtj8FAb1sFFg97vydLGydH8vz7BGs9Qf", + "5HTLp4BvPp99iXtd8YTBZA1sMfzo8pd4mZzBJf7HYdCn2boU", ), authority_keys_from_ss58( "5EekcbqupwbgWqF8hWGY4Pczsxp9sbarjDehqk7bdyLhDCwC", - "5CdFyer8NZ4m8QXAHkgZ7zQ8oM8U6N5XrMSDzcMWdDjbAwUg", + "5GAemcU4Pzyfe8DwLwDFx3aWzyg3FuqYUCCw2h4sdDZhyFvE", ), authority_keys_from_ss58( "5GgdEQyS5DZzUwKuyucEPEZLxFKGmasUFm1mqM3sx1MRC5RV", - "5FYgXyYc59s9c161swNEf4VEGezLd3q5ca6rSYWuJPjbBNKf", + "5EibpMomXmgekxcfs25SzFBpGWUsG9Lc8ALNjXN3TYH5Tube", ), ], // Sudo account From 4842f4e58c979bfadd7c79ed94369e1122bf0266 Mon Sep 17 00:00:00 2001 From: Aliaksandr Tsurko Date: Mon, 9 Dec 2024 18:23:16 +0100 Subject: [PATCH 2/3] Regenerate devnet chain specs --- chainspecs/plain_spec_devnet.json | 16 +++++++++------- chainspecs/raw_spec_devnet.json | 12 +++++++----- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/chainspecs/plain_spec_devnet.json b/chainspecs/plain_spec_devnet.json index 3adc3a494..0f04ef737 100644 --- a/chainspecs/plain_spec_devnet.json +++ b/chainspecs/plain_spec_devnet.json @@ -2,7 +2,9 @@ "name": "Bittensor", "id": "bittensor", "chainType": "Development", - "bootNodes": [], + "bootNodes": [ + "/ip4/127.0.0.1/tcp/30333/p2p/12D3KooWMZEfQEAciv3U2dqnhqtqt943aAjWHdq9m8wjJZamVPQY" + ], "telemetryEndpoints": null, "protocolId": "bittensor", "properties": { @@ -37,23 +39,23 @@ "grandpa": { "authorities": [ [ - "5DLBJuPvyPYit5h5ZaYiF8NvCweXCozUs6pLx3fng1mdVcbw", + "5H3qMjQjoeZxZ98jzDmoCwbz2sugd5fDN1wrr8Phf49zemKL", 1 ], [ - "5ELAzpniRUzAtvydVLmfs5ogbjzoBVxfn6XrN91ahBeDukoY", + "5GbkysfaCjK3cprKPhi3CUwaB5xWpBwcfrkzs6FmqHxej8HZ", 1 ], [ - "5EHVLDoMqjWrBnUrNtj8FAb1sFFg97vydLGydH8vz7BGs9Qf", + "5HTLp4BvPp99iXtd8YTBZA1sMfzo8pd4mZzBJf7HYdCn2boU", 1 ], [ - "5CdFyer8NZ4m8QXAHkgZ7zQ8oM8U6N5XrMSDzcMWdDjbAwUg", + "5GAemcU4Pzyfe8DwLwDFx3aWzyg3FuqYUCCw2h4sdDZhyFvE", 1 ], [ - "5FYgXyYc59s9c161swNEf4VEGezLd3q5ca6rSYWuJPjbBNKf", + "5EibpMomXmgekxcfs25SzFBpGWUsG9Lc8ALNjXN3TYH5Tube", 1 ] ] @@ -64,4 +66,4 @@ } } } -} +} \ No newline at end of file diff --git a/chainspecs/raw_spec_devnet.json b/chainspecs/raw_spec_devnet.json index 1cb92fd25..ea29408bb 100644 --- a/chainspecs/raw_spec_devnet.json +++ b/chainspecs/raw_spec_devnet.json @@ -2,7 +2,9 @@ "name": "Bittensor", "id": "bittensor", "chainType": "Development", - "bootNodes": [], + "bootNodes": [ + "/ip4/127.0.0.1/tcp/30333/p2p/12D3KooWMZEfQEAciv3U2dqnhqtqt943aAjWHdq9m8wjJZamVPQY" + ], "telemetryEndpoints": null, "protocolId": "bittensor", "properties": { @@ -25,9 +27,9 @@ "0x1da53b775b270400e7e61ed5cbc5a1465b92f621aaee5a6c2251bede7b17aefb": "0x00", "0x2013754dd003840aea66b349f8241e254e7b9012096b41c4eb3aaf947f6ea429": "0x0000", "0x2013754dd003840aea66b349f8241e2582fbce236236c63b34351052f96f6751": "0x00", - "0x2013754dd003840aea66b349f8241e25a44704b568d21667356a5a050c118746f52c63705dbee9f60000000000000000000000000000000000000000000000000000000000000000": "0x4ab1aaf03f6b38906068823db56d860aea4746309f844264052f3745a2b33c12", + "0x2013754dd003840aea66b349f8241e25a44704b568d21667356a5a050c118746f52c63705dbee9f60000000000000000000000000000000000000000000000000000000000000000": "0xcbe277b2471bacf4720262a27be478ccc6720fe3aeedb1408599bc2f9b310a21", "0x2013754dd003840aea66b349f8241e25b1ef0b108928f2a3c149728bbd19fb48": "0x00", - "0x2013754dd003840aea66b349f8241e25c8c156f8164e0465c74b8972ea68b4b3": "0x00000000000000000000000000000000000000000000000000000000000000001dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347000000000000000000000000000000000000000041dd560eb15692d37587db459b42658e4d44da4cd4bc4ccd981ae0cf2db8581856e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b42156e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b4210000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0687804000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "0x2013754dd003840aea66b349f8241e25c8c156f8164e0465c74b8972ea68b4b3": "0x00000000000000000000000000000000000000000000000000000000000000001dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d493470000000000000000000000000000000000000000b7733b9db2d478764e7f20be21158b774d7d51cb810b09f994e0bb10a1c87d3656e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b42156e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b4210000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0687804000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "0x26aa394eea5630e07c48ae0c9558cef74e7b9012096b41c4eb3aaf947f6ea429": "0x0000", "0x26aa394eea5630e07c48ae0c9558cef75684a022a34dd8bfa2baaf44f172b710": "0x01", "0x26aa394eea5630e07c48ae0c9558cef78a42f33323cb5ced3b44dd825fda9fcc": "0x4545454545454545454545454545454545454545454545454545454545454545", @@ -49,7 +51,7 @@ "0x5c0d1176a568c1f92944340dbfed9e9c4e7b9012096b41c4eb3aaf947f6ea429": "0x0000", "0x5c0d1176a568c1f92944340dbfed9e9c530ebca703c85910e7164cb7d1c9e47b": "0xd2b77364d1c3b445cd69bd59f1a87dcb26c9ce3f46437d55b88b43f1c177e776", "0x5f9cc45b7a00c5899361e1c6099678dc4e7b9012096b41c4eb3aaf947f6ea429": "0x0500", - "0x5f9cc45b7a00c5899361e1c6099678dc5e0621c4869aa60c02be9adcc98a0d1d": "0x14380953cafa99cc87dc107e52686e2eade747c765352d0744eb147d0bf37a34050100000000000000644482ee0bd2140d4ea8e07ad90d9f7d6e757432d6d9a2d6a20abbf2f6b63750010000000000000062387e91e04f42146dd450e98a3cb7ea6587793ccf0703cfefbc72b2a13a6567010000000000000018d3fadc6a034e81214e40104484ae4d68e70ea34aa25bc4f0488d7629d54d6101000000000000009a0b1ed5712d9a1e10edf93fd6a66b7ef9475e32d8003f873d375bcde7f3843d0100000000000000", + "0x5f9cc45b7a00c5899361e1c6099678dc5e0621c4869aa60c02be9adcc98a0d1d": "0x14dc832c3b7bdfc721e90e5ee9e532c06b62a0def3c79dab5324460d938db6600a0100000000000000c8a00ef71912b3868b101cb70ebd029999d1c9b6a1390122a98f60d72b9a0fc40100000000000000ee70f7b52998c2b4f3d42e509e8360cda92b0cd4ca100cd4d32be5a1ac2979090100000000000000b57a038c9139a060358f3b654df74a1cb6d15bcdb8438bcebd64ce67ec4301eb0100000000000000755f75dfc66aaa3b1e761a8845249509b8bd2fdf0d94cb74e1e12e1e0f4d35190100000000000000", "0x5f9cc45b7a00c5899361e1c6099678dc8a2d09463effcc78a22d75b9cb87dffc": "0x0000000000000000", "0x5f9cc45b7a00c5899361e1c6099678dcd47cb8f5328af743ddfb361e7180e7fcbb1bdbcacd6ac9340000000000000000": "0x00000000", "0x658faa385070e074c85bf6b568cf055506d22dc781f44e506e51707fab5eea4d0300": "0xff7f", @@ -101,4 +103,4 @@ "childrenDefault": {} } } -} +} \ No newline at end of file From 362b128c451a6fc257f8413a261728d7fc9179bc Mon Sep 17 00:00:00 2001 From: Aliaksandr Tsurko Date: Mon, 9 Dec 2024 18:35:22 +0100 Subject: [PATCH 3/3] Remove bootnodes from devnet chainspec --- chainspecs/plain_spec_devnet.json | 6 ++---- chainspecs/raw_spec_devnet.json | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/chainspecs/plain_spec_devnet.json b/chainspecs/plain_spec_devnet.json index 0f04ef737..30db9ac71 100644 --- a/chainspecs/plain_spec_devnet.json +++ b/chainspecs/plain_spec_devnet.json @@ -2,9 +2,7 @@ "name": "Bittensor", "id": "bittensor", "chainType": "Development", - "bootNodes": [ - "/ip4/127.0.0.1/tcp/30333/p2p/12D3KooWMZEfQEAciv3U2dqnhqtqt943aAjWHdq9m8wjJZamVPQY" - ], + "bootNodes": [], "telemetryEndpoints": null, "protocolId": "bittensor", "properties": { @@ -66,4 +64,4 @@ } } } -} \ No newline at end of file +} diff --git a/chainspecs/raw_spec_devnet.json b/chainspecs/raw_spec_devnet.json index ea29408bb..14bc0baba 100644 --- a/chainspecs/raw_spec_devnet.json +++ b/chainspecs/raw_spec_devnet.json @@ -2,9 +2,7 @@ "name": "Bittensor", "id": "bittensor", "chainType": "Development", - "bootNodes": [ - "/ip4/127.0.0.1/tcp/30333/p2p/12D3KooWMZEfQEAciv3U2dqnhqtqt943aAjWHdq9m8wjJZamVPQY" - ], + "bootNodes": [], "telemetryEndpoints": null, "protocolId": "bittensor", "properties": { @@ -103,4 +101,4 @@ "childrenDefault": {} } } -} \ No newline at end of file +}