mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
Fix compilation errors after update
This commit is contained in:
Generated
+219
-166
File diff suppressed because it is too large
Load Diff
@@ -20,7 +20,7 @@ tokio = '0.1.22'
|
|||||||
trie-root = '0.15.2'
|
trie-root = '0.15.2'
|
||||||
codec = { package = 'parity-scale-codec', version = '1.0.0' }
|
codec = { package = 'parity-scale-codec', version = '1.0.0' }
|
||||||
parachain-runtime = { package = "cumulus-test-parachain-runtime", path = "runtime" }
|
parachain-runtime = { package = "cumulus-test-parachain-runtime", path = "runtime" }
|
||||||
structopt = "0.2.2"
|
structopt = "0.3.3"
|
||||||
ctrlc = { version = "3.1.3", features = ["termination"] }
|
ctrlc = { version = "3.1.3", features = ["termination"] }
|
||||||
|
|
||||||
# Substrate dependencies
|
# Substrate dependencies
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ sudo = { package = "srml-sudo", git = "https://github.com/paritytech/substrate",
|
|||||||
sr-primitives = { git = "https://github.com/paritytech/substrate", default_features = false, branch = "bkchr-cumulus-branch" }
|
sr-primitives = { git = "https://github.com/paritytech/substrate", default_features = false, branch = "bkchr-cumulus-branch" }
|
||||||
client = { package = "substrate-client", git = "https://github.com/paritytech/substrate", default_features = false, branch = "bkchr-cumulus-branch" }
|
client = { package = "substrate-client", git = "https://github.com/paritytech/substrate", default_features = false, branch = "bkchr-cumulus-branch" }
|
||||||
offchain-primitives = { package = "substrate-offchain-primitives", git = "https://github.com/paritytech/substrate", default-features = false, branch = "bkchr-cumulus-branch" }
|
offchain-primitives = { package = "substrate-offchain-primitives", git = "https://github.com/paritytech/substrate", default-features = false, branch = "bkchr-cumulus-branch" }
|
||||||
|
transaction-payment = { package = "srml-transaction-payment", git = "https://github.com/paritytech/substrate", default-features = false, branch = "bkchr-cumulus-branch" }
|
||||||
|
|
||||||
# Cumulus dependencies
|
# Cumulus dependencies
|
||||||
cumulus-runtime = { path = "../../../runtime", default-features = false }
|
cumulus-runtime = { path = "../../../runtime", default-features = false }
|
||||||
@@ -56,4 +57,5 @@ std = [
|
|||||||
'offchain-primitives/std',
|
'offchain-primitives/std',
|
||||||
'substrate-session/std',
|
'substrate-session/std',
|
||||||
'cumulus-runtime/std',
|
'cumulus-runtime/std',
|
||||||
|
'transaction-payment/std',
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -105,7 +105,6 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
|||||||
apis: RUNTIME_API_VERSIONS,
|
apis: RUNTIME_API_VERSIONS,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
pub const MILLISECS_PER_BLOCK: u64 = 6000;
|
pub const MILLISECS_PER_BLOCK: u64 = 6000;
|
||||||
|
|
||||||
pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK;
|
pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK;
|
||||||
@@ -156,8 +155,6 @@ impl system::Trait for Runtime {
|
|||||||
type Header = generic::Header<BlockNumber, BlakeTwo256>;
|
type Header = generic::Header<BlockNumber, BlakeTwo256>;
|
||||||
/// The ubiquitous event type.
|
/// The ubiquitous event type.
|
||||||
type Event = Event;
|
type Event = Event;
|
||||||
/// Update weight (to fee) multiplier per-block.
|
|
||||||
type WeightMultiplierUpdate = ();
|
|
||||||
/// The ubiquitous origin type.
|
/// The ubiquitous origin type.
|
||||||
type Origin = Origin;
|
type Origin = Origin;
|
||||||
/// Maximum number of block number to block hash mappings to keep (oldest pruned first).
|
/// Maximum number of block number to block hash mappings to keep (oldest pruned first).
|
||||||
@@ -211,15 +208,20 @@ impl balances::Trait for Runtime {
|
|||||||
type OnNewAccount = Indices;
|
type OnNewAccount = Indices;
|
||||||
/// The ubiquitous event type.
|
/// The ubiquitous event type.
|
||||||
type Event = Event;
|
type Event = Event;
|
||||||
type TransactionPayment = ();
|
|
||||||
type DustRemoval = ();
|
type DustRemoval = ();
|
||||||
type TransferPayment = ();
|
type TransferPayment = ();
|
||||||
type ExistentialDeposit = ExistentialDeposit;
|
type ExistentialDeposit = ExistentialDeposit;
|
||||||
type TransferFee = TransferFee;
|
type TransferFee = TransferFee;
|
||||||
type CreationFee = CreationFee;
|
type CreationFee = CreationFee;
|
||||||
|
}
|
||||||
|
|
||||||
|
impl transaction_payment::Trait for Runtime {
|
||||||
|
type Currency = Balances;
|
||||||
|
type OnTransactionPayment = ();
|
||||||
type TransactionBaseFee = TransactionBaseFee;
|
type TransactionBaseFee = TransactionBaseFee;
|
||||||
type TransactionByteFee = TransactionByteFee;
|
type TransactionByteFee = TransactionByteFee;
|
||||||
type WeightToFee = ConvertInto;
|
type WeightToFee = ConvertInto;
|
||||||
|
type FeeMultiplierUpdate = ();
|
||||||
}
|
}
|
||||||
|
|
||||||
impl sudo::Trait for Runtime {
|
impl sudo::Trait for Runtime {
|
||||||
@@ -259,7 +261,7 @@ pub type SignedExtra = (
|
|||||||
system::CheckEra<Runtime>,
|
system::CheckEra<Runtime>,
|
||||||
system::CheckNonce<Runtime>,
|
system::CheckNonce<Runtime>,
|
||||||
system::CheckWeight<Runtime>,
|
system::CheckWeight<Runtime>,
|
||||||
balances::TakeFees<Runtime>,
|
transaction_payment::ChargeTransactionPayment<Runtime>,
|
||||||
);
|
);
|
||||||
/// Unchecked extrinsic type as expected by this runtime.
|
/// Unchecked extrinsic type as expected by this runtime.
|
||||||
pub type UncheckedExtrinsic = generic::UncheckedExtrinsic<Address, Call, Signature, SignedExtra>;
|
pub type UncheckedExtrinsic = generic::UncheckedExtrinsic<Address, Call, Signature, SignedExtra>;
|
||||||
|
|||||||
Reference in New Issue
Block a user