Zilliqa / zq2

Zilliqa 2.0 code base
Apache License 2.0
9 stars 0 forks source link

Z2-Converter : eth_getBlockByNumber throws error panic error #1801

Open chetan-zilliqa opened 1 day ago

chetan-zilliqa commented 1 day ago

$ cargo build && ./target/debug/zilliqa --config-file config-single-node.toml 7adffb9ec4f17f6fd0aa7242bc75175341afe5c756327382bc2008b1df0479a7 Finished dev profile [unoptimized + debuginfo] target(s) in 0.41s 2024-11-13T07:01:41.214977Z ERROR zilliqa: 62: thread_name="tokio-runtime-worker" called Result::unwrap() on an Err value: InvalidData panic.file="zilliqa/src/exec.rs" panic.line=730 panic.column=18 2024-11-13T07:01:41.215233Z ERROR zilliqa::api::eth: 48: e=Unhandled panic in RPC handler eth_getBlockByNumber 2024-11-13T07:01:41.347521Z ERROR zilliqa: 62: thread_name="tokio-runtime-worker" called Result::unwrap() on an Err value: PoisonError { .. } panic.file="zilliqa/src/api/eth.rs" panic.line=330 panic.column=28 2024-11-13T07:01:41.347602Z ERROR zilliqa::api::eth: 48: e=Unhandled panic in RPC handler eth_getBlockByNumber 2024-11-13T07:01:41.349914Z ERROR zilliqa: 62: thread_name="tokio-runtime-worker" called Result::unwrap() on an Err value: PoisonError { .. } panic.file="/home/chetan_zilliqa_com/zq2/zilliqa/src/node_launcher.rs" panic.line=214 panic.column=38 2024-11-13T07:01:41.350253Z ERROR zilliqa::p2p_node: 456: e=task 11 panicked with message "called Result::unwrap() on an Err value: PoisonError { .. }"

bzawisto commented 20 hours ago

@chetan-zilliqa: What's the block number?

bzawisto commented 17 hours ago

So the problem is caused by lack of stackers in deposit contract, please make sure you have entries in genesis.deposits in your config file for converter.