Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thread 'tokio-blocking-driver' panicked at 'called Result::unwrap() on an Err value: InvalidNonce', #160

Closed
SvenMeyer opened this issue Oct 9, 2020 · 5 comments

Comments

@SvenMeyer
Copy link

Was running a local @moonbeam node, tried to deploy a std ERC-20 (which worked before), got this ...

$ ./target/release/node-moonbeam --dev -lerror

====================

Version: 0.1.0-e53269f-x86_64-linux-gnu

   0: sp_panic_handler::set::{{closure}}
   1: std::panicking::rust_panic_with_hook
             at /rustc/663d2f5cd3163f17eddb74ee1e028d542255f21a/library/std/src/panicking.rs:573
   2: std::panicking::begin_panic_handler::{{closure}}
             at /rustc/663d2f5cd3163f17eddb74ee1e028d542255f21a/library/std/src/panicking.rs:476
   3: std::sys_common::backtrace::__rust_end_short_backtrace
             at /rustc/663d2f5cd3163f17eddb74ee1e028d542255f21a/library/std/src/sys_common/backtrace.rs:153
   4: rust_begin_unwind
             at /rustc/663d2f5cd3163f17eddb74ee1e028d542255f21a/library/std/src/panicking.rs:475
   5: core::panicking::panic_fmt
             at /rustc/663d2f5cd3163f17eddb74ee1e028d542255f21a/library/core/src/panicking.rs:85
   6: core::option::expect_none_failed
             at /rustc/663d2f5cd3163f17eddb74ee1e028d542255f21a/library/core/src/option.rs:1221
   7: <pallet_ethereum::Call<T> as frame_support::traits::UnfilteredDispatchable>::dispatch_bypass_filter
   8: <moonbeam_runtime::Call as frame_support::traits::UnfilteredDispatchable>::dispatch_bypass_filter
   9: <moonbeam_runtime::Call as sp_runtime::traits::Dispatchable>::dispatch
  10: <sp_runtime::generic::checked_extrinsic::CheckedExtrinsic<AccountId,Call,Extra> as sp_runtime::traits::Applyable>::apply
  11: frame_executive::Executive<System,Block,Context,UnsignedValidator,AllModules,COnRuntimeUpgrade>::apply_extrinsic_with_len
  12: <moonbeam_runtime::Runtime as sp_block_builder::runtime_decl_for_BlockBuilder::BlockBuilder<sp_runtime::generic::block::Block<sp_runtime::generic::header::Header<u32,sp_runtime::traits::BlakeTwo256>,sp_runtime::generic::unchecked_extrinsic::UncheckedExtrinsic<<<sp_runtime::MultiSignature as sp_runtime::traits::Verify>::Signer as sp_runtime::traits::IdentifyAccount>::AccountId,moonbeam_runtime::Call,sp_runtime::MultiSignature,(frame_system::CheckSpecVersion<moonbeam_runtime::Runtime>,frame_system::CheckTxVersion<moonbeam_runtime::Runtime>,frame_system::CheckGenesis<moonbeam_runtime::Runtime>,frame_system::CheckEra<moonbeam_runtime::Runtime>,frame_system::CheckNonce<moonbeam_runtime::Runtime>,frame_system::CheckWeight<moonbeam_runtime::Runtime>,pallet_transaction_payment::ChargeTransactionPayment<moonbeam_runtime::Runtime>)>>>>::apply_extrinsic
  13: sp_block_builder::runtime_decl_for_BlockBuilder::apply_extrinsic_native_call_generator::{{closure}}
  14: std::thread::local::LocalKey<T>::with
  15: sc_executor::native_executor::WasmExecutor::with_instance::{{closure}}
  16: sc_executor::wasm_runtime::RuntimeCache::with_instance
  17: <sc_executor::native_executor::NativeExecutor<D> as sp_core::traits::CodeExecutor>::call
  18: sp_state_machine::StateMachine<B,H,N,Exec>::execute_aux
  19: sp_state_machine::StateMachine<B,H,N,Exec>::execute_using_consensus_failure_handler
  20: <sc_service::client::call_executor::LocalCallExecutor<B,E> as sc_client_api::call_executor::CallExecutor<Block>>::contextual_call
  21: <sc_service::client::client::Client<B,E,Block,RA> as sp_api::CallApiAt<Block>>::call_api_at
  22: sp_block_builder::runtime_decl_for_BlockBuilder::apply_extrinsic_call_api_at
  23: <moonbeam_runtime::RuntimeApiImpl<__SR_API_BLOCK__,RuntimeApiImplCall> as sp_block_builder::BlockBuilder<__SR_API_BLOCK__>>::BlockBuilder_apply_extrinsic_runtime_api_impl
  24: <moonbeam_runtime::RuntimeApiImpl<Block,C> as sp_api::ApiExt<Block>>::map_api_result
  25: sc_basic_authorship::basic_authorship::Proposer<B,Block,C,A>::propose_with
  26: core::ops::function::FnOnce::call_once{{vtable.shim}}
  27: std::sys_common::backtrace::__rust_begin_short_backtrace
  28: core::ops::function::FnOnce::call_once{{vtable.shim}}
  29: <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once
             at /rustc/663d2f5cd3163f17eddb74ee1e028d542255f21a/library/alloc/src/boxed.rs:1042
      <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once
             at /rustc/663d2f5cd3163f17eddb74ee1e028d542255f21a/library/alloc/src/boxed.rs:1042
      std::sys::unix::thread::Thread::new::thread_start
             at /rustc/663d2f5cd3163f17eddb74ee1e028d542255f21a/library/std/src/sys/unix/thread.rs:87
  30: start_thread
  31: __clone


Thread 'tokio-blocking-driver' panicked at 'called `Result::unwrap()` on an `Err` value: InvalidNonce', /home/sum/DEV/moonbeam/vendor/frontier/frame/ethereum/src/lib.rs:379

paritytech/substrate#5394

@xlc
Copy link
Contributor

xlc commented Oct 9, 2020

The substrate issue you linked is totally unrelated.

Looks like you are running an old version of moonbeam which uses an outdated version of frontier.

Please try new version instead.

@SvenMeyer
Copy link
Author

Thanks for the feedback. Will check, although I just grabbed the moombeam code and installed it 2 days ago ...

@xlc
Copy link
Contributor

xlc commented Oct 9, 2020

According to the log, you are running this version moonbeam-foundation/moonbeam@e53269f which is 2 months old.

@SvenMeyer
Copy link
Author

I used the git clone command from the tutorial which gets a fixed branch .. thanks for bringing that to my attention
git clone -b moonbeam-tutorials https://github.com/PureStake/moonbeam

@boundless-forest
Copy link
Collaborator

Very old one. Close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants