nspcc-dev / neofs-aio

NeoFS All-in-One single node deployment helper
5 stars 9 forks source link

[#15] Rollback neo-go to v0.98.1 #15

Closed KirillovDenis closed 2 years ago

KirillovDenis commented 2 years ago

Using neo-go v0.98.2 has problems:

=> Try to restore blocks before running node
2022-03-31T14:20:36.435Z    INFO    initial gas supply is not set or wrong, setting default value   {"InitialGASSupply": "52000000"}
2022-03-31T14:20:36.435Z    INFO    P2PNotaryRequestPayloadPool size is not set or wrong, setting default value {"P2PNotaryRequestPayloadPoolSize": 1000}
2022-03-31T14:20:36.435Z    INFO    MaxBlockSize is not set or wrong, setting default value {"MaxBlockSize": 262144}
2022-03-31T14:20:36.435Z    INFO    MaxBlockSystemFee is not set or wrong, setting default value    {"MaxBlockSystemFee": 900000000000}
2022-03-31T14:20:36.435Z    INFO    MaxTransactionsPerBlock is not set or wrong, using default value    {"MaxTransactionsPerBlock": 512}
2022-03-31T14:20:36.435Z    INFO    MaxValidUntilBlockIncrement is not set or wrong, using default value    {"MaxValidUntilBlockIncrement": 86400}
2022-03-31T14:20:36.435Z    INFO    NativeActivations are not set, using default values
2022-03-31T14:20:36.439Z    INFO    no storage version found! creating genesis block
2022-03-31T14:20:36.441Z    INFO    initialize restore  {"start": 0, "height": 0, "skip": 0, "count": 89}
2022-03-31T14:20:36.441Z    INFO    service is running  {"service": "Prometheus", "endpoint": ":20001"}
2022-03-31T14:20:36.441Z    INFO    service hasn't started since it's disabled  {"service": "Pprof"}
2022-03-31T14:20:36.442Z    INFO    shutting down service   {"service": "Pprof", "endpoint": ":20011"}
2022-03-31T14:20:36.442Z    INFO    shutting down service   {"service": "Prometheus", "endpoint": ":20001"}
2022-03-31T14:20:36.445Z    INFO    persisted to disk   {"blocks": 0, "keys": 115, "headerHeight": 0, "blockHeight": 0, "took": "3.554212ms"}
failed to add block 1: state root for previous block is invalid: 20bed4004c5d686b558a3e28343be3ce2eb4e93cca01074b16f5bb9b74fb8072 != 53503ad37c62cdcd6ea11c1952e37697bf05cf214c06e4d1243b059ba8abf3dd
2022-03-31T14:20:36.463Z    INFO    initial gas supply is not set or wrong, setting default value   {"InitialGASSupply": "52000000"}
2022-03-31T14:20:36.463Z    INFO    P2PNotaryRequestPayloadPool size is not set or wrong, setting default value {"P2PNotaryRequestPayloadPoolSize": 1000}
2022-03-31T14:20:36.463Z    INFO    MaxBlockSize is not set or wrong, setting default value {"MaxBlockSize": 262144}
2022-03-31T14:20:36.463Z    INFO    MaxBlockSystemFee is not set or wrong, setting default value    {"MaxBlockSystemFee": 900000000000}
2022-03-31T14:20:36.463Z    INFO    MaxTransactionsPerBlock is not set or wrong, using default value    {"MaxTransactionsPerBlock": 512}
2022-03-31T14:20:36.463Z    INFO    MaxValidUntilBlockIncrement is not set or wrong, using default value    {"MaxValidUntilBlockIncrement": 86400}
2022-03-31T14:20:36.463Z    INFO    NativeActivations are not set, using default values
2022-03-31T14:20:36.466Z    INFO    restoring blockchain    {"version": "0.2.5"}
2022-03-31T14:20:36.469Z    INFO    ExtensiblePoolSize is not set or wrong, using default value {"ExtensiblePoolSize": 20}
2022-03-31T14:20:36.469Z    INFO    service is running  {"service": "Prometheus", "endpoint": ":20001"}
2022-03-31T14:20:36.469Z    INFO    service hasn't started since it's disabled  {"service": "Pprof"}
2022-03-31T14:20:37.433Z    INFO    starting rpc-server {"endpoint": ":30333"}
2022-03-31T14:20:37.434Z    INFO    node started    {"blockHeight": 0, "headerHeight": 0}
2022-03-31T14:20:37.434Z    INFO    node reached synchronized state, starting services
2022-03-31T14:20:37.434Z    INFO    starting state validation service
2022-03-31T14:20:37.434Z    INFO    starting consensus service
2022-03-31T14:20:37.434Z    INFO    initializing dbft   {"height": 1, "view": 0, "index": 0, "role": "Primary"}

    _   ____________        __________
   / | / / ____/ __ \      / ____/ __ \
  /  |/ / __/ / / / /_____/ / __/ / / /
 / /|  / /___/ /_/ /_____/ /_/ / /_/ /
/_/ |_/_____/\____/      \____/\____/

/NEO-GO:0.98.2/

2022-03-31T14:20:37.435Z    INFO    sending PrepareRequest  {"height": 1, "view": 0}
2022-03-31T14:20:37.435Z    INFO    sending Commit  {"height": 1, "view": 0}
2022-03-31T14:20:37.435Z    INFO    approving block {"height": 1, "hash": "fa88ebd2a088c34835cf0940b22f87d7e2a084e69bcee901e9796e154a6f7b38", "tx_count": 0, "merkle": "0000000000000000000000000000000000000000000000000000000000000000", "prev": "c466e08bf64c0423f3e3c12211c844e5eee005d20cb94a6e5f4ec11a83b89f21"}
2022-03-31T14:20:37.435Z    WARN    error on add block  {"error": "state root for previous block is invalid: 53503ad37c62cdcd6ea11c1952e37697bf05cf214c06e4d1243b059ba8abf3dd != 0000000000000000000000000000000000000000000000000000000000000000"}
2022-03-31T14:20:37.435Z    INFO    initializing dbft   {"height": 1, "view": 0, "index": 0, "role": "Primary"}
2022-03-31T14:20:37.435Z    INFO    starting notary service
2022-03-31T14:20:38.435Z    ERROR   Error encountered with rpc request  {"method": "", "params": "[]"}
2022-03-31T14:20:38.436Z    INFO    sending PrepareRequest  {"height": 1, "view": 0}
2022-03-31T14:20:38.437Z    INFO    sending Commit  {"height": 1, "view": 0}
2022-03-31T14:20:38.437Z    INFO    approving block {"height": 1, "hash": "001812abf2a44a6f87874c8dce6f1942662d7e9b0115783c3c506ff179cae992", "tx_count": 0, "merkle": "0000000000000000000000000000000000000000000000000000000000000000", "prev": "c466e08bf64c0423f3e3c12211c844e5eee005d20cb94a6e5f4ec11a83b89f21"}
2022-03-31T14:20:38.437Z    WARN    error on add block  {"error": "state root for previous block is invalid: 53503ad37c62cdcd6ea11c1952e37697bf05cf214c06e4d1243b059ba8abf3dd != 0000000000000000000000000000000000000000000000000000000000000000"}
2022-03-31T14:20:38.437Z    INFO    initializing dbft   {"height": 1, "view": 0, "index": 0, "role": "Primary"}
2022-03-31T14:20:38.450Z    ERROR   Error encountered with rpc request  {"error": "key not found", "method": "getcontractstate", "params": "[1]"}
incorrect script hash: invalid base58 digit ('l')
Changing ContainerFee configration value to 0
incorrect script hash: invalid base-58 check string: invalid checksum
send: spawn id exp3 not open
    while executing
"send -- "$passwd\r""
    invoked from within
"if { $passwd == "-"} {
    send -- "\r"
} else {
    send -- "$passwd\r"
}"
    (file "./bin/passwd.exp" line 9)
rpc error: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:16512: connect: connection refused"
2022-03-31T14:20:39.126Z    debug   subscriber/subscriber.go:202    event subscriber awaits RPC node    {"endpoint": "ws://localhost:30333/ws", "min_block_height": 0}
2022-03-31T14:20:39.131Z    debug   innerring/innerring.go:409  notary support  {"sidechain_enabled": true, "mainchain_enabled": false}
2022-03-31T14:20:39.132Z    ERROR   Error encountered with rpc request  {"error": "key not found", "method": "getcontractstate", "params": "[1]"}
can't get proxy script hash: NNS contract state: Unknown contract (-100) - 

Signed-off-by: Denis Kirillov denis@nspcc.ru