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
While submitting a transaction to a local polkadot node I encountered the following error.
This is a bit hard to reproduce, I would say once every 7/8th transaction.
Not entirely sure if this is fixed since the 0.6.0 release 🙏
cargo run --example unstable_light_client_tx_basic --features="unstable-light-client jsonrpsee"
Compiling subxt v0.29.0 (/Users/lexnv/Workspace/parity/subxt/subxt)
Compiling subxt-signer v0.29.0 (/Users/lexnv/Workspace/parity/subxt/signer)
Finished dev [unoptimized + debuginfo] target(s) in 7.71s
Running `target/debug/examples/unstable_light_client_tx_basic`
2023-06-23T11:13:19.883220Z INFO smoldot: Chain initialization completefor dev. Name: "Development". Genesis hash: 0x4e1e…05c2. State root hash: 0x50e69d13db00a26a2834fa5ed6d6f2d99c5b965a6170da09b682c2e817f105ae. Network identity: 12D3KooWFJzLRTnqdCs8RBYCJWs7jEjuEduP82zCbTjthkpsCk5q. Chain specification or database starting at: 0x4e1e…05c2 (#0)
2023-06-23T11:13:19.883927Z WARN json-rpc-dev: The JSON-RPC client has just called a JSON-RPC functionfrom the legacy JSON-RPC API (chain_getBlockHash). 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.
thread 'smol-1' panicked at 'internal error: entered unreachable code', /Users/lexnv/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smoldot-0.8.0/src/sync/all.rs:1024:39
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'smol-1' panicked at 'called `Result::unwrap()` on an `Err` value: SendError { kind: Disconnected }', /Users/lexnv/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smoldot-light-0.6.0/src/sync_service.rs:211:14
While submitting a transaction to a local polkadot node I encountered the following error.
This is a bit hard to reproduce, I would say once every 7/8th transaction.
Not entirely sure if this is fixed since the 0.6.0 release 🙏
The subxt PR for testing: paritytech/subxt#965
The text was updated successfully, but these errors were encountered: