Skip to content

Commit 683dd51

Browse files
authored
Re export sp_runtime (#100)
* re-export sp_runtime * version bump: 0.4.8-sub2.0.0-rc5
1 parent cad765f commit 683dd51

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "substrate-api-client"
3-
version = "0.4.7-sub2.0.0-rc5"
3+
version = "0.4.8-sub2.0.0-rc5"
44
authors = ["Supercomputing Systems AG <[email protected]>"]
55
edition = "2018"
66

src/extrinsic/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ macro_rules! compose_extrinsic_offline {
6969
$genesis_or_current_hash: expr,
7070
$runtime_spec_version: expr,
7171
$transaction_version: expr) => {{
72-
use sp_runtime::generic::Era;
7372
use $crate::extrinsic::xt_primitives::*;
73+
use $crate::sp_runtime::generic::Era;
7474
let extra = GenericExtra::new($era, $nonce);
7575
let raw_payload = SignedPayload::from_raw(
7676
$call.clone(),

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ use events::{EventsDecoder, RawEvent, RuntimeEvent};
8080
#[cfg(feature = "std")]
8181
use sp_runtime::{generic::SignedBlock, AccountId32 as AccountId, MultiSignature};
8282

83+
pub extern crate sp_runtime;
84+
8385
pub use sp_core::H256 as Hash;
8486

8587
/// The block number type used in this runtime.

test_no_std/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)