Skip to content

Instantly share code, notes, and snippets.

@vgrichina
Created March 5, 2020 05:37
Show Gist options
  • Save vgrichina/db0106ac6f6ae0e35d00e7254d609c5f to your computer and use it in GitHub Desktop.
Save vgrichina/db0106ac6f6ae0e35d00e7254d609c5f to your computer and use it in GitHub Desktop.
thread 'main' panicked at 'Finalize cannot be called with uncommitted changes.', core/store/src/trie/update.rs:151:9
stack backtrace:
0: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
1: core::fmt::write
2: std::io::Write::write_fmt
3: std::panicking::default_hook::{{closure}}
4: std::panicking::default_hook
5: near_primitives::test_utils::init_stop_on_panic::{{closure}}::{{closure}}
6: std::panicking::rust_panic_with_hook
7: std::panicking::begin_panic
8: near_store::trie::update::TrieUpdate::finalize
9: <near::runtime::NightshadeRuntime as near_chain::types::RuntimeAdapter>::query
10: near_client::view_client::ViewClientActor::handle_query
11: <actix::address::envelope::SyncEnvelopeProxy<A,M> as actix::address::envelope::EnvelopeProxy>::handle
12: <actix::contextimpl::ContextFut<A,C> as core::future::future::Future>::poll
13: tokio::task::raw::poll
14: <std::future::GenFuture<T> as core::future::future::Future>::poll
15: actix_rt::runtime::Runtime::block_on
16: near::main
17: std::rt::lang_start::{{closure}}
18: main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: "Non-zero exit code: 1" }', near/src/main.rs:205:13
stack backtrace:
0: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
1: core::fmt::write
2: std::io::Write::write_fmt
3: std::panicking::default_hook::{{closure}}
4: std::panicking::default_hook
5: near_primitives::test_utils::init_stop_on_panic::{{closure}}::{{closure}}
6: std::panicking::rust_panic_with_hook
7: rust_begin_unwind
8: core::panicking::panic_fmt
9: core::option::expect_none_failed
10: near::main
11: std::rt::lang_start::{{closure}}
12: main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment