You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2023-12-19T03:44:55Z INFO smoldot] Chain initialization complete for polkadot. Name: "Polkadot". Genesis hash: 0x91b1…90c3. State root hash: 0x29d0d972cd27cbc511e9589fcb7a4506d5eb6a9e8df205f00472e5ab354a4e17. Network identity: 12D3KooWNfsbTcerCdFuJD5ZucQv1sZNDqXUj2ueCtG4z1a17wcM. Chain specification or database starting at: 0x91b1…90c3 (#0)
[2023-12-19T03:44:55Z WARN json-rpc-polkadot] The JSON-RPC client has just called a JSON-RPC function from the legacy JSON-RPC API (chain_subscribeNewHeads). Legacy JSON-RPC functions have loose semantics and cannot be properly implemented on a light client. You are encouraged to use the new JSON-RPC API <https://github.com/paritytech/json-rpc-interface-spec/> instead. The legacy JSON-RPC API functions will be deprecated and removed in the distant future.
JSON-RPC response: {"jsonrpc":"2.0","id":1,"result":"0"}
thread 'async-std/runtime' panicked at src/libp2p/connection/noise.rs:595:9:
assertion failed: self.tx_buffer_encrypted.as_slices().1.is_empty()
stack backtrace:
0: rust_begin_unwind
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:595:5
1: core::panicking::panic_fmt
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:67:14
2: core::panicking::panic
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:117:5
3: smoldot::libp2p::connection::noise::HandshakeInProgress::update_message_write
at /Users/weijunyuan/Desktop/smoldot/src/libp2p/connection/noise.rs:595:9
4: smoldot::libp2p::connection::noise::HandshakeInProgress::read_write
at /Users/weijunyuan/Desktop/smoldot/src/libp2p/connection/noise.rs:803:13
5: smoldot::libp2p::connection::single_stream_handshake::HealthyHandshake::read_write
at /Users/weijunyuan/Desktop/smoldot/src/libp2p/connection/single_stream_handshake.rs:163:35
6: smoldot::libp2p::collection::single_stream::SingleStreamConnectionTask<TNow>::read_write
at /Users/weijunyuan/Desktop/smoldot/src/libp2p/collection/single_stream.rs:721:40
7: smoldot_light::network_service::tasks::single_stream_connection_task::{{closure}}
at ./src/network_service/tasks.rs:249:17
8: smoldot_light::network_service::tasks::connection_task::{{closure}}
at ./src/network_service/tasks.rs:175:14
9: <core::pin::Pin<P> as core::future::future::Future>::poll
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/future/future.rs:125:9
10: <futures_util::stream::futures_unordered::FuturesUnordered<Fut> as futures_core::stream::Stream>::poll_next
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.25/src/stream/futures_unordered/mod.rs:515:17
11: futures_util::stream::stream::StreamExt::poll_next_unpin
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.25/src/stream/stream/mod.rs:1626:9
12: <futures_util::stream::stream::select_next_some::SelectNextSome<St> as core::future::future::Future>::poll
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.25/src/stream/stream/select_next_some.rs:34:48
13: <core::pin::Pin<P> as core::future::future::Future>::poll
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/future/future.rs:125:9
14: futures_util::future::future::FutureExt::poll_unpin
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.25/src/future/future/mod.rs:562:9
15: smoldot_light::network_service::NetworkService<TPlat>::new::{{closure}}::{{closure}}::{{closure}}::{{closure}}
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.25/src/async_await/select_mod.rs:321:13
16: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:294:13
17: smoldot_light::network_service::NetworkService<TPlat>::new::{{closure}}::{{closure}}::{{closure}}
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.25/src/async_await/select_mod.rs:321:13
18: <futures_util::future::poll_fn::PollFn<F> as core::future::future::Future>::poll
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.25/src/future/poll_fn.rs:56:9
19: smoldot_light::network_service::NetworkService<TPlat>::new::{{closure}}::{{closure}}
at ./src/network_service.rs:338:25
20: <futures_util::abortable::Abortable<Fut> as core::future::future::Future>::poll::{{closure}}
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.25/src/abortable.rs:159:37
21: futures_util::abortable::Abortable<T>::try_poll
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.25/src/abortable.rs:133:33
22: <futures_util::abortable::Abortable<Fut> as core::future::future::Future>::poll
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.25/src/abortable.rs:159:9
23: <futures_util::future::future::map::Map<Fut,F> as core::future::future::Future>::poll
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.25/src/future/future/map.rs:55:37
24: <futures_util::future::future::Map<Fut,F> as core::future::future::Future>::poll
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.25/src/lib.rs:91:13
25: <core::pin::Pin<P> as core::future::future::Future>::poll
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/future/future.rs:125:9
26: <async_std::task::builder::SupportTaskLocals<F> as core::future::future::Future>::poll::{{closure}}
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-std-1.12.0/src/task/builder.rs:199:17
27: async_std::task::task_locals_wrapper::TaskLocalsWrapper::set_current::{{closure}}
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-std-1.12.0/src/task/task_locals_wrapper.rs:60:13
28: std::thread::local::LocalKey<T>::try_with
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/thread/local.rs:270:16
29: std::thread::local::LocalKey<T>::with
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/thread/local.rs:246:9
30: async_std::task::task_locals_wrapper::TaskLocalsWrapper::set_current
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-std-1.12.0/src/task/task_locals_wrapper.rs:55:17
31: <async_std::task::builder::SupportTaskLocals<F> as core::future::future::Future>::poll
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-std-1.12.0/src/task/builder.rs:197:13
32: async_executor::Executor::spawn::{{closure}}
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.4.1/src/lib.rs:144:20
33: async_task::raw::RawTask<F,T,S>::run
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-task-4.0.3/src/raw.rs:489:20
34: async_executor::Executor::run::{{closure}}::{{closure}}
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.4.1/src/lib.rs:235:21
35: <futures_lite::future::Or<F1,F2> as core::future::future::Future>::poll
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-1.12.0/src/future.rs:529:33
36: async_executor::Executor::run::{{closure}}
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-executor-1.4.1/src/lib.rs:242:32
37: <futures_lite::future::Or<F1,F2> as core::future::future::Future>::poll
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-lite-1.12.0/src/future.rs:529:33
38: async_io::driver::block_on
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-io-1.6.0/src/driver.rs:142:33
39: async_global_executor::reactor::block_on::{{closure}}
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-global-executor-2.0.2/src/reactor.rs:3:18
40: async_global_executor::reactor::block_on
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-global-executor-2.0.2/src/reactor.rs:12:5
41: async_global_executor::threading::thread_main_loop::{{closure}}::{{closure}}
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-global-executor-2.0.2/src/threading.rs:95:17
42: std::thread::local::LocalKey<T>::try_with
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/thread/local.rs:270:16
43: std::thread::local::LocalKey<T>::with
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/thread/local.rs:246:9
44: async_global_executor::threading::thread_main_loop::{{closure}}
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-global-executor-2.0.2/src/threading.rs:89:45
45: std::panicking::try::do_call
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:502:40
46: std::panicking::try
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:466:19
47: std::panic::catch_unwind
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panic.rs:142:14
48: async_global_executor::threading::thread_main_loop
at /Users/weijunyuan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-global-executor-2.0.2/src/threading.rs:88:12
49: core::ops::function::FnOnce::call_once
at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[1] 21467 abort RUST_BACKTRACE=1 cargo run --example basic -- --rpc-port 9944
The text was updated successfully, but these errors were encountered:
OS: Mac M1
command:
err inf:
The text was updated successfully, but these errors were encountered: