I received an error as soon as starting
-
jcli --full-version
0.8.5; -
jormungandr --full-version
0.8.5;
I downloaded config for beta from https://hydra.iohk.io/build/1523436/download/1/index.html
This is my beta-config.yaml :
{
"log": {
"format": "plain",
"level": "info",
"output": "stderr"
},
"p2p": {
"listen_address": "/ip4/0.0.0.0/tcp/3100",
"public_address": "/ip4/0.0.0.0/tcp/3100",
"topics_of_interest": {
"blocks": "high",
"messages": "high"
},
"trusted_peers": [
{
"address": "/ip4/52.9.85.113/tcp/3000",
"id": "7f47c880339670ad98d38ad3b379e1f7853479f8ef4f6fc7"
},
{
"address": "/ip4/13.57.72.175/tcp/3000",
"id": "b8b20f58b34dd7a485c8cff0d67f800149b1ff220b826632"
},
{
"address": "/ip4/52.8.62.219/tcp/3000",
"id": "f51aa0ce82b7f061e12762bd22b84424129f690655441b8e"
},
{
"address": "/ip4/52.194.124.233/tcp/3000",
"id": "255df5de725cd9d1087b8a3e4ff66d65572c36ceed791679"
},
{
"address": "/ip4/52.197.220.18/tcp/3000",
"id": "50768a0bb41781baa551cd96fb46a62e666e97874bca1cf5"
},
{
"address": "/ip4/3.125.20.154/tcp/3000",
"id": "ddfea960bc2fe1aa45af9b385b6bd3e949c050df61b5b451"
},
{
"address": "/ip4/3.124.255.35/tcp/3000",
"id": "2b7216b51b890ef1e8ade8e513dd6f2b35173e46b08ac1a9"
}
]
},
"rest": {
"listen": "0.0.0.0:3100"
}
}
Then I run by the script:
jormungandr --config beta-config.yaml --genesis-block-hash 27668e95121566df0bb2e2c11c5fd95dfe59efd570f8f592235ecff167ca3f29
But I received an error:
Error in the overall configuration of the node
|-> Error while parsing the node configuration file: log: invalid type: map, expected a sequence at line 2 column 10
|-> log: invalid type: map, expected a sequence at line 2 column 10
After I searched similar errors in forum and tried editting file beta-config.yaml at config log (add symbol “[”, “]”):
"log": [{
"format": "plain",
"level": "info",
"output": "stderr"
}],
But I still received a different error after running:
failed to download block, error: GetBlocksStream { source: Error { code: InvalidArgument, source: Custom { kind: InvalidInput, error: StructureInvalid("Invalid config parameter tag") } } }, peer_address: 52.8.62.219:3000, block: 27668e95121566df0bb2e2c11c5fd95dfe59efd570f8f592235ecff167ca3f29, task: init
Error fetching the genesis block from the network
|-> could not download block hash 27668e95121566df0bb2e2c11c5fd95dfe59efd570f8f592235ecff167ca3f29