mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-19 19:21:03 +00:00
Latest substrate updates (#70)
* Fix compilation errors with latest substrate * System::Account replaces FreeBalance and Nonce * System::Account replaces FreeBalance and Nonce * Remove Balances FreeBalance, replaced with System Account * Update system event, fix instantiate * reorder deps
This commit is contained in:
+2
-1
@@ -26,7 +26,7 @@ use sp_runtime::{
|
||||
};
|
||||
|
||||
use crate::frame::{
|
||||
balances::Balances,
|
||||
balances::{Balances, AccountData},
|
||||
contracts::Contracts,
|
||||
system::System,
|
||||
};
|
||||
@@ -49,6 +49,7 @@ impl System for DefaultNodeRuntime {
|
||||
type Address = pallet_indices::address::Address<Self::AccountId, u32>;
|
||||
type Header = Header<Self::BlockNumber, BlakeTwo256>;
|
||||
type Extrinsic = OpaqueExtrinsic;
|
||||
type AccountData = AccountData<<Self as Balances>::Balance>;
|
||||
}
|
||||
|
||||
impl Balances for DefaultNodeRuntime {
|
||||
|
||||
Reference in New Issue
Block a user