Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update aleph-client
  • Loading branch information
kostekIV committed Nov 24, 2022
commit 42eec349eb46ff8f4e5643560063572a1a30ace2
4,301 changes: 4,301 additions & 0 deletions aleph-client/Cargo.lock

Large diffs are not rendered by default.

1,152 changes: 551 additions & 601 deletions aleph-client/src/aleph_zero.rs

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions aleph-client/src/connections.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ use subxt::{
SubstrateConfig,
};

use crate::{
api, frame_support::weights::weight_v2::Weight, BlockHash, Call, Client, KeyPair, TxStatus,
};
use crate::{api, sp_weights::weight_v2::Weight, BlockHash, Call, Client, KeyPair, TxStatus};

#[derive(Clone)]
pub struct Connection {
Expand Down
2 changes: 1 addition & 1 deletion aleph-client/src/contract/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ use ink_metadata::{InkProject, MetadataVersioned};
use serde_json::{from_reader, from_value};

use crate::{
frame_support::weights::weight_v2::Weight,
pallets::contract::{ContractCallArgs, ContractRpc, ContractsUserApi},
sp_weights::weight_v2::Weight,
AccountId, Connection, SignedConnection, TxStatus,
};

Expand Down
2 changes: 1 addition & 1 deletion aleph-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use subxt::{
OnlineClient, PolkadotConfig,
};

use crate::api::runtime_types::aleph_runtime::Call;
use crate::api::runtime_types::aleph_runtime::RuntimeCall as Call;
// generated by running `subxt codegen --derive Clone Debug Eq PartialEq | rustfmt --edition=2021 > src/aleph_zero.rs`
#[allow(clippy::all)]
mod aleph_zero;
Expand Down
4 changes: 2 additions & 2 deletions aleph-client/src/pallets/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ use subxt::{
};

use crate::{
api, frame_support::weights::weight_v2::Weight, pallet_contracts::wasm::OwnerInfo, AccountId,
BlockHash, Connection, SignedConnection, TxStatus,
api, pallet_contracts::wasm::OwnerInfo, sp_weights::weight_v2::Weight, AccountId, BlockHash,
Connection, SignedConnection, TxStatus,
};

#[derive(Encode)]
Expand Down
4 changes: 2 additions & 2 deletions aleph-client/src/pallets/multisig.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use primitives::{Balance, BlockNumber};

use crate::{
api, api::runtime_types, frame_support::weights::weight_v2::Weight, AccountId, BlockHash,
SignedConnection, TxStatus,
api, api::runtime_types, sp_weights::weight_v2::Weight, AccountId, BlockHash, SignedConnection,
TxStatus,
};

pub type CallHash = [u8; 32];
Expand Down
2 changes: 1 addition & 1 deletion aleph-client/src/runtime_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use crate::{
sp_consensus_aura::sr25519::app_sr25519::Public as AuraPublic,
sp_core::{ed25519::Public as EdPublic, sr25519::Public as SrPublic},
},
frame_support::weights::weight_v2::Weight,
pallet_staking::EraRewardPoints,
sp_weights::weight_v2::Weight,
};

impl<AccountId> Default for EraRewardPoints<AccountId> {
Expand Down
Loading