Skip to content

Commit

Permalink
fix rebase errors
Browse files Browse the repository at this point in the history
  • Loading branch information
haerdib committed Dec 9, 2022
1 parent cd501f8 commit 7f9b278
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 7 deletions.
5 changes: 4 additions & 1 deletion examples/batch_payout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ use sp_keyring::AccountKeyring;
#[cfg(feature = "staking-xt")]
use sp_runtime::{app_crypto::Ss58Codec, AccountId32};
#[cfg(feature = "staking-xt")]
use substrate_api_client::{rpc::JsonrpseeClient, Api, PlainTipExtrinsicParams, XtStatus};
use substrate_api_client::{
rpc::JsonrpseeClient, Api, GetGenericStorage, NodeSubscription, PlainTipExtrinsicParams,
XtStatus,
};

#[cfg(feature = "staking-xt")]
#[tokio::main]
Expand Down
4 changes: 2 additions & 2 deletions examples/custom_nonce.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ use kitchensink_runtime::{BalancesCall, Runtime, RuntimeCall};
use sp_keyring::AccountKeyring;
use sp_runtime::{generic::Era, MultiAddress};
use substrate_api_client::{
compose_extrinsic_offline, rpc::JsonrpseeClient, Api, AssetTipExtrinsicParams,
UncheckedExtrinsicV4, XtStatus,
compose_extrinsic_offline, rpc::JsonrpseeClient, Api, AssetTipExtrinsicParams, GetHeader,
NodeSubscription, UncheckedExtrinsicV4, XtStatus,
};

#[tokio::main]
Expand Down
2 changes: 1 addition & 1 deletion examples/get_blocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
use kitchensink_runtime::Runtime;
use sp_core::sr25519;
use substrate_api_client::{
rpc::JsonrpseeClient, Api, AssetTipExtrinsicParams, GetHeader, HandleSubscription,
rpc::JsonrpseeClient, Api, AssetTipExtrinsicParams, GetBlock, GetHeader, HandleSubscription,
NodeSubscription,
};

Expand Down
3 changes: 2 additions & 1 deletion examples/staking_payout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ use sp_keyring::AccountKeyring;
use sp_runtime::{app_crypto::Ss58Codec, AccountId32};
#[cfg(feature = "staking-xt")]
use substrate_api_client::{
rpc::JsonrpseeClient, Api, AssetTipExtrinsicParams, NodeSubscription, XtStatus,
rpc::JsonrpseeClient, Api, AssetTipExtrinsicParams, GetGenericStorage, NodeSubscription,
XtStatus,
};

#[cfg(feature = "staking-xt")]
Expand Down
5 changes: 4 additions & 1 deletion examples/transfer_with_tungstenite_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ use sp_core::{
sr25519,
};
use sp_runtime::MultiAddress;
use substrate_api_client::{rpc::TungsteniteRpcClient, Api, AssetTipExtrinsicParams, XtStatus};
use substrate_api_client::{
rpc::TungsteniteRpcClient, Api, AssetTipExtrinsicParams, GetAccountInformation,
NodeSubscription, XtStatus,
};

fn main() {
env_logger::init();
Expand Down
5 changes: 4 additions & 1 deletion examples/transfer_with_ws_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ use sp_core::{
sr25519,
};
use sp_runtime::MultiAddress;
use substrate_api_client::{rpc::WsRpcClient, Api, AssetTipExtrinsicParams, XtStatus};
use substrate_api_client::{
rpc::WsRpcClient, Api, AssetTipExtrinsicParams, GetAccountInformation, NodeSubscription,
XtStatus,
};

fn main() {
env_logger::init();
Expand Down

0 comments on commit 7f9b278

Please sign in to comment.