mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-22 20:48:01 +00:00
fix: don't wrap rpc error in DisconnectedWillReconnect in reconnecting rpc client (#1904)
* fix: don't wrap rpc err in DisconnectedWillRecon * add clarifying comment * fix no-std-test build * fix no-std-test build v2
This commit is contained in:
@@ -3,12 +3,11 @@
|
||||
// see LICENSE for license details.
|
||||
|
||||
#![allow(internal_features)]
|
||||
#![feature(lang_items, start)]
|
||||
#![feature(alloc_error_handler)]
|
||||
#![feature(lang_items, alloc_error_handler)]
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
|
||||
#[start]
|
||||
fn start(_argc: isize, _argv: *const *const u8) -> isize {
|
||||
pub extern "C" fn _start(_argc: isize, _argv: *const *const u8) -> isize {
|
||||
compile_test();
|
||||
0
|
||||
}
|
||||
@@ -60,11 +59,10 @@ fn compile_test() {
|
||||
|
||||
// Subxt Core compiles:
|
||||
let _era = subxt_core::utils::Era::Immortal;
|
||||
|
||||
}
|
||||
|
||||
#[subxt_macro::subxt(
|
||||
runtime_metadata_path = "../../artifacts/polkadot_metadata_full.scale",
|
||||
crate="::subxt_core"
|
||||
crate = "::subxt_core"
|
||||
)]
|
||||
pub mod polkadot{}
|
||||
pub mod polkadot {}
|
||||
|
||||
Reference in New Issue
Block a user