Critical error on startup 0g-storage-node
Opened this issue · 0 comments
doodleoo3 commented
I think the problem is with the software, as my miner ID and miner key are in the correct format.
There are also funds to pay the commission at the address associated with the miner key.
Fail to query miner id information: AbiError(DecodingError(InvalidName("please ensure the contract and method you're calling exist! failed to decode empty bytes. if you're using jsonrpc this is likely due to jsonrpc returning 0x
in case contract or method don't exist")))
2024-05-08T19:58:28.145772Z INFO zgs_node: Starting services...
2024-05-08T19:58:28.761285Z DEBUG storage::log_store::log_manager: LogManager::new() with chunk_list_len=0 start_tx_seq=None last_chunk=0
2024-05-08T19:58:28.778283Z DEBUG network::service: Loaded network key from disk.
2024-05-08T19:58:28.778912Z DEBUG network::discovery::enr: ENR loaded from disk file="network/enr.dat"
2024-05-08T19:58:28.779032Z INFO network::service: Libp2p Starting peer_id=16Uiu2HAmArnuVcV9zYAW3HQ9Ym2srKcte8WWzd6XLSgf4ZpTdHDV bandwidth_config=3-Average
2024-05-08T19:58:28.779048Z DEBUG network::service: Attempting to open listening ports address=0.0.0.0 tcp_port=1234 udp_port=1234
2024-05-08T19:58:28.779087Z INFO network::nat: UPnP Attempting to initialise routes
2024-05-08T19:58:28.779362Z INFO network::discovery: ENR Initialised enr=enr:-Hy4QFb5KofEPmZ8J2SwlaCc41_LZznhaqkSLMJeXxE5wgu8fmup4ytSd0pqpNjLKOsCqpU-zY58GRW1lAYRNeSd6yEBgmlkgnY0iXNlY3AyNTZrMaEC5U6nvTtGB_ZNk-NflD3380SyJ2KatZbGEDfqVrPnLjSDdGNwggTS seq=1 id=0xc2d7..95f0 ip=None udp=None tcp=Some(1234) udp4_socket=None
2024-05-08T19:58:28.779721Z DEBUG network::discovery: Discovery service started
2024-05-08T19:58:28.779724Z INFO network::discovery: Contacting Multiaddr boot-nodes for their ENR
2024-05-08T19:58:28.779791Z INFO discv5::service: Discv5 Service started
2024-05-08T19:58:28.779789Z DEBUG discv5::handler: Handler Starting
2024-05-08T19:58:28.779790Z DEBUG discv5::socket::recv: Recv handler starting
2024-05-08T19:58:28.779803Z DEBUG discv5::socket::send: Send handler starting
2024-05-08T19:58:28.779804Z DEBUG discv5::service: Sending RPC Request: id: eff0861c79a5b374: FINDNODE Request: distance: [0] to node: Node: 0x0b9e..9bef, addr: 54.219.26.22:1234
2024-05-08T19:58:28.779811Z DEBUG discv5::service: Sending RPC Request: id: dab1d3a1520dd2fa: FINDNODE Request: distance: [0] to node: Node: 0x702b..6b45, addr: 52.52.127.117:1234
2024-05-08T19:58:29.462866Z DEBUG log_entry_sync::sync_manager: current start block number 0, block hash 0x1541…6169, finalized block number 40155
2024-05-08T19:58:29.463183Z DEBUG log_entry_sync::sync_manager::log_entry_fetcher: start_watch starts, start=40156
2024-05-08T19:58:29.463303Z DEBUG log_entry_sync::sync_manager::log_entry_fetcher: start_recover starts, start=0 end=40155
2024-05-08T19:58:29.634212Z DEBUG log_entry_sync::sync_manager::log_entry_fetcher: from block number 40156, latest block number 40155, confirmation delay 12
2024-05-08T19:58:29.634237Z DEBUG log_entry_sync::sync_manager::log_entry_fetcher: log sync gets entries without progress? old_progress=40156
2024-05-08T19:58:29.781690Z DEBUG discv5::service: RPC Request timed out. id: eff0861c79a5b374
2024-05-08T19:58:29.781709Z DEBUG discv5::service: RPC Request timed out. id: dab1d3a1520dd2fa
2024-05-08T19:58:29.781725Z ERROR network::discovery: Error getting mapping to ENR multiaddr=/ip4/54.219.26.22/udp/1234/p2p/16Uiu2HAmPxGNWu9eVAQPJww79J32pTJLKGcpjRMb4Qb8xxKkyuG1 error=Timeout
2024-05-08T19:58:29.781728Z ERROR network::discovery: Error getting mapping to ENR multiaddr=/ip4/52.52.127.117/udp/1234/p2p/16Uiu2HAm93Hd5azfhkGBbkx1zero3nYHvfjQYM2NtiW4R3r5bE2g error=Timeout
2024-05-08T19:58:29.781735Z DEBUG network::discovery: Starting a peer discovery request target_peers=16
2024-05-08T19:58:29.781952Z INFO network::service: Listening established address=/ip4/0.0.0.0/tcp/1234/p2p/16Uiu2HAmArnuVcV9zYAW3HQ9Ym2srKcte8WWzd6XLSgf4ZpTdHDV
2024-05-08T19:58:29.781973Z DEBUG network::behaviour: Subscribed to topic topic=/eth2/find_file/ssz_snappy
2024-05-08T19:58:29.781977Z DEBUG network::behaviour: Subscribed to topic topic=/eth2/find_chunks/ssz_snappy
2024-05-08T19:58:29.781979Z DEBUG network::behaviour: Subscribed to topic topic=/eth2/announce_file/ssz_snappy
2024-05-08T19:58:29.781982Z DEBUG network::behaviour: Subscribed to topic topic=/eth2/announce_chunks/ssz_snappy
2024-05-08T19:58:29.781984Z INFO network::service: Subscribed to topics topics=[FindFile, FindChunks, AnnounceFile, AnnounceChunks]
2024-05-08T19:58:29.782029Z DEBUG sync::service: Starting sync service
2024-05-08T19:58:30.289929Z DEBUG miner::miner_id: Checking miner id on chain...
2024-05-08T19:58:30.304651Z DEBUG log_entry_sync::sync_manager::log_entry_fetcher: from block number 40156, latest block number 40155, confirmation delay 12
2024-05-08T19:58:30.304663Z DEBUG log_entry_sync::sync_manager::log_entry_fetcher: log sync gets entries without progress? old_progress=40156
2024-05-08T19:58:30.459927Z ERROR zgs_node: Failed to start zgs node reason=Fail to query miner id information: AbiError(DecodingError(InvalidName("please ensure the contract and method you're calling exist! failed to decode empty bytes. if you're using jsonrpc this is likely due to jsonrpc returning `0x` in case contract or method don't exist")))
2024-05-08T19:58:30.459960Z INFO zgs_node::client::environment: Internal shutdown received reason="Failed to start zgs node"
2024-05-08T19:58:30.459965Z INFO discv5::service: Discv5 Service shutdown
2024-05-08T19:58:30.459971Z INFO zgs_node: Shutting down... reason=Failure("Failed to start zgs node")