- Have you tried changing the
--node-key
to88dc3417d5058ec4b4503e0c12ea1a0a89be200fe98922423d4334014fa6b0ee
(without the0x
prefix)? - Why don't you explicitly specify a different
--rpc-port
for Bob (i.e. 9934) and Charlie (i.e. 9935) and Dave (i.e. 9936) other than the RPC port 9933 that Alice is using? - Why are you running two Charlie validators (both using
--charlie
) instead of just one Charlie and one Dave--dave
? - In the code for your chain specification here you mention four authorities Alice, Bob, Charlie, and Dave. You're also using Babe, ImOnline, and Grandpa session keys here.
So you need to generate season keys for each of those four authorities like in the example shown below (which only generates them for Alice, so repeat for Bob, and Charlie, and Dave by changing it from
Alice
toBob
, etc):
subkey inspect --scheme ed25519 "//Alice"
subkey inspect --scheme sr25519 "//Alice"//babe
subkey inspect --scheme sr25519 "//Alice"//imonline
subkey inspect --scheme ed25519 "//Alice"//grandpa
Then after starting all the validator nodes insert each of their session keys (only Alice shown below). Repeat below for Bob, Charlie, and Dave using their respective secret key and unique Public Key (hex) that was shown in the output from the previous step. Also change the respective RPC port of each cURL request to match the explicit different RPC port that you started each authority with so Alice (i.e. 9933), Bob (i.e. 9934), Charlie (i.e. 9935) and Dave (i.e. 9936)
curl -vH 'Content-Type: application/json' --data '{ "jsonrpc":"2.0", "method":"author_insertKey", "params":["babe", "//Alice//babe", "0x46ffa3a808850b2ad55732e958e781146ed1e6436ffb83290e0cb810aacf5070"],"id":1 }' 127.0.0.1:9933
curl -vH 'Content-Type: application/json' --data '{ "jsonrpc":"2.0", "method":"author_insertKey", "params":["imon", "//Alice//imonline", "0xee725cf87fa2d6f264f26d7d8b84b1054d2182cdcce51fdea95ec868be9d1e17"],"id":1 }' 127.0.0.1:9933
curl -vH 'Content-Type: application/json' --data '{ "jsonrpc":"2.0", "method":"author_insertKey", "params":["gran", "//Alice//grandpa", "0x6e2de2e5087b56ed2370359574f479d7e5da1973e17ca1b55882c4773f154d2f"],"id":1 }' 127.0.0.1:9933
Then restart all the authorities and verify they're all finalising blocks.
- Have you tried using
--unsafe-ws-external
and--unsafe-rpc-external
too? - Does
unsafe
need to use a capital letter like--rpc-methods=Unsafe
? - Why do you need
--in-peers 256
? - Have you tried using
--execution=native -lruntime=debug
?