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

Error using relay RPC sync #114

Open
bLd75 opened this issue Dec 27, 2022 · 0 comments
Open

Error using relay RPC sync #114

bLd75 opened this issue Dec 27, 2022 · 0 comments

Comments

@bLd75
Copy link

bLd75 commented Dec 27, 2022

Invarch client allows option --relay-chain-rpc-url introduced in Cumulus here: paritytech/cumulus#963
When using it with a local relay RPC, it catches sync well

2022-12-28T00:21:20+04:00	2022-12-27 20:21:20 [Parachain] Connection established to target: Target { sockaddrs: [], host: "localhost", host_header: "localhost:9944", _mode: Plain, path_and_query: "/" }
2022-12-28T00:21:20+04:00	2022-12-27 20:21:20 [Parachain] Initializing RPC Client url=ws://localhost:9944/

But then results as an error in client below.

2022-12-28T00:21:20+04:00	   1: std::panicking::rust_panic_with_hook
2022-12-28T00:21:20+04:00	   0: sp_panic_handler::set::{{closure}}
2022-12-28T00:21:20+04:00	Version: 0.1.0-56b206a5951
2022-12-28T00:21:20+04:00	====================
2022-12-28T00:21:20+04:00	  14: sc_cli::runner::Runner<C>::run_node_until_exit
2022-12-28T00:21:20+04:00	  13: tokio::runtime::scheduler::multi_thread::MultiThread::block_on
2022-12-28T00:21:20+04:00	  12: tokio::park::thread::CachedParkThread::block_on
2022-12-28T00:21:20+04:00	  11: std::thread::local::LocalKey<T>::with
2022-12-28T00:21:20+04:00	  10: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
2022-12-28T00:21:20+04:00	   9: invarch_collator::service::start_node_impl::{{closure}}
2022-12-28T00:21:20+04:00	             at rustc/9243168fa5615ec8ebe9164c6bc2fdcccffd08b6/library/core/src/option.rs:1880:5
2022-12-28T00:21:20+04:00	   8: core::option::expect_failed
2022-12-28T00:21:20+04:00	             at rustc/9243168fa5615ec8ebe9164c6bc2fdcccffd08b6/library/core/src/panicking.rs:56:5
2022-12-28T00:21:20+04:00	   7: core::panicking::panic_str
2022-12-28T00:21:20+04:00	             at rustc/9243168fa5615ec8ebe9164c6bc2fdcccffd08b6/library/core/src/panicking.rs:72:5
2022-12-28T00:21:20+04:00	   6: core::panicking::panic_display
2022-12-28T00:21:20+04:00	             at rustc/9243168fa5615ec8ebe9164c6bc2fdcccffd08b6/library/core/src/panicking.rs:142:14
2022-12-28T00:21:20+04:00	   5: core::panicking::panic_fmt
2022-12-28T00:21:20+04:00	             at rustc/9243168fa5615ec8ebe9164c6bc2fdcccffd08b6/library/std/src/panicking.rs:584:5
2022-12-28T00:21:20+04:00	   4: rust_begin_unwind
2022-12-28T00:21:20+04:00	             at rustc/9243168fa5615ec8ebe9164c6bc2fdcccffd08b6/library/std/src/sys_common/backtrace.rs:138:18
2022-12-28T00:21:20+04:00	   3: std::sys_common::backtrace::__rust_end_short_backtrace
2022-12-28T00:21:20+04:00	             at rustc/9243168fa5615ec8ebe9164c6bc2fdcccffd08b6/library/std/src/panicking.rs:588:13
2022-12-28T00:21:20+04:00	   2: std::panicking::begin_panic_handler::{{closure}}
2022-12-28T00:21:20+04:00	             at rustc/9243168fa5615ec8ebe9164c6bc2fdcccffd08b6/library/std/src/panicking.rs:702:17
2022-12-28T00:21:20+04:00		https://github.com/InvArch/InvArch-node/issues/new
2022-12-28T00:21:20+04:00	This is a bug. Please report it at:
2022-12-28T00:21:20+04:00	Thread 'main' panicked at 'Command line arguments do not allow this. qed', node/src/service.rs:397
2022-12-28T00:21:20+04:00	  23: _start
2022-12-28T00:21:20+04:00	  22: __libc_start_main
2022-12-28T00:21:20+04:00	  21: <unknown>
2022-12-28T00:21:20+04:00	  20: main
2022-12-28T00:21:20+04:00	             at rustc/9243168fa5615ec8ebe9164c6bc2fdcccffd08b6/library/std/src/rt.rs:128:20
2022-12-28T00:21:20+04:00	      std::rt::lang_start_internal
2022-12-28T00:21:20+04:00	             at rustc/9243168fa5615ec8ebe9164c6bc2fdcccffd08b6/library/std/src/rt.rs:128:48
2022-12-28T00:21:20+04:00	      std::rt::lang_start_internal::{{closure}}
2022-12-28T00:21:20+04:00	             at rustc/9243168fa5615ec8ebe9164c6bc2fdcccffd08b6/library/std/src/panic.rs:137:14
2022-12-28T00:21:20+04:00	      std::panic::catch_unwind
2022-12-28T00:21:20+04:00	             at rustc/9243168fa5615ec8ebe9164c6bc2fdcccffd08b6/library/std/src/panicking.rs:456:19
2022-12-28T00:21:20+04:00	      std::panicking::try
2022-12-28T00:21:20+04:00	             at rustc/9243168fa5615ec8ebe9164c6bc2fdcccffd08b6/library/std/src/panicking.rs:492:40
2022-12-28T00:21:20+04:00	      std::panicking::try::do_call
2022-12-28T00:21:20+04:00	             at rustc/9243168fa5615ec8ebe9164c6bc2fdcccffd08b6/library/core/src/ops/function.rs:280:13
2022-12-28T00:21:20+04:00	  19: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
2022-12-28T00:21:20+04:00	  18: std::rt::lang_start::{{closure}}
2022-12-28T00:21:20+04:00	  17: std::sys_common::backtrace::__rust_begin_short_backtrace
2022-12-28T00:21:20+04:00	  16: invarch_collator::main
2022-12-28T00:21:20+04:00	  15: invarch_collator::command::run

Tested with other parachain clients, this error doesn't appear.

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

1 participant