Grin-wallet errors after recover

$grin-wallet -r completed successfully
$grin-wallet scan completed successfully
$grin-wallet info gives these errors

grin-wallet v5.1.0
grin v5.1.2

1 Like

I receive the same errors in grin node. That is the issue Thread panic: 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: Any' · Issue #496 · mimblewimble/grin-wallet · GitHub

the error that you’ve linked happened in the wallet, can you show the error that you get in your node (check node logs)? If possible set file_log_level = "Debug" in your grin-server.toml config file (located in ~/.grin/main/ so that it outputs more info

@vegycslol
1: std::panicking::rust_panic_with_hook
at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:610
2: std::panicking::begin_panic_handler::{{closure}}
at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:500
3: std::sys_common::backtrace::__rust_end_short_backtrace
at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys_common/backtrace.rs:139
4: rust_begin_unwind
at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:498
5: core::panicking::panic_fmt
at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:116
6: core::panicking::panic
at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:48
7: grin_core::core::pmmr::readonly_pmmr::ReadonlyPMMR<T,B>::elements_from_pmmr_index
8: grin_chain::chain::Chain::unspent_outputs_by_pmmr_index
9: grin_api::handlers::chain_api::OutputHandler::get_unspent_outputs
10: <grin_api::foreign::Foreign<B,P> as grin_api::foreign_rpc::ForeignRpc>::get_unspent_outputs
11: ::handle
12: easy_jsonrpc_mw::handle_call
13: easy_jsonrpc_mw::handle_parsed_request
14: easy_jsonrpc_mw::Handler::handle_request
15: <core::future::from_generator::GenFuture as core::future::future::Future>::poll
16: <hyper::proto::h1::dispatch::Server<S,hyper::body::body::Body> as hyper::proto::h1::dispatch::Dispatch>::poll_msg
17: hyper::proto::h1::dispatch::Dispatcher<D,Bs,I,T>::poll_loop
18: hyper::proto::h1::dispatch::Dispatcher<D,Bs,I,T>::poll_catch
19: <hyper::server::conn::upgrades::UpgradeableConnection<I,S,E> as core::future::future::Future>::poll
20: <hyper::server::conn::spawn_all::NewSvcTask<I,N,S,E,W> as core::future::future::Future>::poll
21: tokio::loom::std::unsafe_cell::UnsafeCell::with_mut
22: tokio::runtime::task::harness::Harness<T,S>::poll
23: std::thread::local::LocalKey::with
24: tokio::runtime::thread_pool::worker::Context::run_task
25: tokio::runtime::thread_pool::worker::Context::run
26: tokio::macros::scoped_tls::ScopedKey::set
27: tokio::runtime::thread_pool::worker::run
28: tokio::runtime::task::core::Core<T,S>::poll
29: <core::panic::unwind_safe::AssertUnwindSafe as core::ops::function::FnOnce<()>>::call_once
30: tokio::runtime::task::harness::Harness<T,S>::poll
31: tokio::runtime::context::enter
32: std::sys_common::backtrace::__rust_begin_short_backtrace
33: core::ops::function::FnOnce::call_once{{vtable.shim}}
34: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once
at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854
<alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once
at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/alloc/src/boxed.rs:1854
std::sys::unix::thread::thread::new::thread_start
at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/sys/unix/thread.rs:108
35: start_thread
36: clone

20220403 17:22:58.535 DEBUG grin_servers::grin::seed - monitor_peers: on 0.0.0.0:3414, 8 connected (8 most_work). all 10488 = 10237 healthy + 1 banned + 250 defunct
20220403 17:23:06.034 DEBUG grin_p2p::protocol - handle_payload: received tx kernel: 816e07826023
20220403 17:23:06.034 DEBUG grin_p2p::peer - Requesting tx (kernel hash) 816e07826023 from peer 49.12.108.173:3414.
20220403 17:23:06.049 DEBUG grin_p2p::protocol - handle_payload: received tx kernel: 816e07826023
20220403 17:23:06.049 DEBUG grin_p2p::peer - Requesting tx (kernel hash) 816e07826023 from peer 213.239.217.14:3414.
20220403 17:23:06.060 DEBUG grin_p2p::protocol - handle_payload: received tx kernel: 816e07826023
20220403 17:23:06.060 DEBUG grin_p2p::peer - Requesting tx (kernel hash) 816e07826023 from peer 176.9.86.219:3414.
20220403 17:23:06.068 DEBUG grin_p2p::protocol - handle_payload: received tx kernel: 816e07826023
20220403 17:23:06.068 DEBUG grin_p2p::peer - Requesting tx (kernel hash) 816e07826023 from peer 109.74.202.16:3414.
20220403 17:23:06.070 DEBUG grin_p2p::protocol - handle_payload: received tx kernel: 816e07826023
20220403 17:23:06.071 DEBUG grin_p2p::peer - Requesting tx (kernel hash) 816e07826023 from peer 35.181.35.93:3414.
20220403 17:23:06.095 DEBUG grin_p2p::protocol - handle_payload: received tx
20220403 17:23:06.095 DEBUG grin_servers::common::hooks - Received tx 8757d0f821d9, [in/out/kern: 2/3/1] going to process.
20220403 17:23:06.120 DEBUG grin_pool::transaction_pool - convert_tx_v2: 8757d0f821d9 (v3 → v2)
20220403 17:23:06.147 DEBUG grin_p2p::protocol - handle_payload: received tx kernel: 816e07826023
20220403 17:23:06.161 DEBUG grin_p2p::protocol - handle_payload: received tx
20220403 17:23:06.161 DEBUG grin_servers::common::hooks - Received tx 8757d0f821d9, [in/out/kern: 2/3/1] going to process.
20220403 17:23:06.163 DEBUG grin_p2p::protocol - handle_payload: received tx kernel: 816e07826023
20220403 17:23:06.168 DEBUG grin_pool::pool - add_to_pool [txpool]: abd9de669c62 (Broadcast) [in/out/kern: 2/3/1] pool: 0 (at block 0001050c8116)
20220403 17:23:06.185 DEBUG grin_pool::transaction_pool - added tx to reorg_cache: size now 1
20220403 17:23:06.185 DEBUG grin_p2p::peer - Not sending tx kernel hash 816e07826023 to 18.204.166.78:3414 (already seen)
20220403 17:23:06.185 DEBUG grin_p2p::peer - Not sending tx kernel hash 816e07826023 to 83.149.99.191:3414 (already seen)
20220403 17:23:06.185 DEBUG grin_p2p::peer - Not sending tx kernel hash 816e07826023 to 35.181.35.93:3414 (already seen)
20220403 17:23:06.185 DEBUG grin_p2p::peer - Not sending tx kernel hash 816e07826023 to 213.239.217.14:3414 (already seen)
20220403 17:23:06.186 DEBUG grin_p2p::peer - Send tx kernel hash 816e07826023 to 157.230.142.11:3414
20220403 17:23:06.186 DEBUG grin_p2p::peer - Not sending tx kernel hash 816e07826023 to 49.12.108.173:3414 (already seen)
20220403 17:23:06.186 DEBUG grin_p2p::peer - Not sending tx kernel hash 816e07826023 to 109.74.202.16:3414 (already seen)
20220403 17:23:06.186 DEBUG grin_p2p::peer - Not sending tx kernel hash 816e07826023 to 176.9.86.219:3414 (already seen)
20220403 17:23:06.186 DEBUG grin_p2p::peers - broadcast_transaction: abd9de669c62 to 1 peers, done.
20220403 17:23:06.186 DEBUG grin_servers::common::adapters - Transaction 8757d0f821d9 rejected: DuplicateTx
20220403 17:23:06.199 DEBUG grin_p2p::protocol - handle_payload: received tx
20220403 17:23:06.199 DEBUG grin_servers::common::hooks - Received tx 8757d0f821d9, [in/out/kern: 2/3/1] going to process.
20220403 17:23:06.199 DEBUG grin_servers::common::adapters - Transaction 8757d0f821d9 rejected: DuplicateTx
20220403 17:23:06.210 DEBUG grin_p2p::protocol - handle_payload: received tx
20220403 17:23:06.211 DEBUG grin_servers::common::hooks - Received tx 8757d0f821d9, [in/out/kern: 2/3/1] going to process.
20220403 17:23:06.211 DEBUG grin_servers::common::adapters - Transaction 8757d0f821d9 rejected: DuplicateTx
20220403 17:23:06.222 DEBUG grin_p2p::protocol - handle_payload: received tx
20220403 17:23:06.222 DEBUG grin_servers::common::hooks - Received tx 8757d0f821d9, [in/out/kern: 2/3/1] going to process.
20220403 17:23:06.222 DEBUG grin_servers::common::adapters - Transaction 8757d0f821d9 rejected: DuplicateTx
20220403 17:23:06.284 DEBUG grin_p2p::protocol - handle_payload: received tx kernel: 816e07826023

By creating a new wallet everything is working without problems. The problem has to do with the wallets that I want to recover. I am running previous version 5.1.1 now

1 Like

Same errors after recover grin-wallet v5.1.0 with the v5.2.0-alpha.1 release. But if I create a new wallet no errors same as grin v5.1.2. I still run grin v5.1.1 and grin-wallet v5.1.0. Just test grin v5.2.0-alpha.1 release today.

The issue Thread panic: 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: Any' · Issue #496 · mimblewimble/grin-wallet · GitHub

I confirm this is happening on a restored wallet with grin 5.1.2 and wallet 5.0.3, same error as @nirg
EDIT: worked on 5.2.0apha2 with wallet 5.0.3

1 Like