mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 09:21:04 +00:00
* Companion for #11981 * rename * Event to RuntimeEvent in imports * missed rename * undo * revert * rename type Call & Event * commit * ... * fix * fix errors * fixes * fmt * fix imports * final fix? * fmt * fix? * fixes after merge * small fix * cargo update -p polkadot-runtime-common * cargo +nightly fmt * update lockfile for {"polkadot", "substrate"} * fix Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use crate::{
|
||||
constants::currency::deposit, Balance, Balances, Call, Event, RandomnessCollectiveFlip,
|
||||
Runtime, RuntimeBlockWeights, Timestamp,
|
||||
constants::currency::deposit, Balance, Balances, RandomnessCollectiveFlip, Runtime,
|
||||
RuntimeBlockWeights, RuntimeCall, RuntimeEvent, Timestamp,
|
||||
};
|
||||
use frame_support::{
|
||||
parameter_types,
|
||||
@@ -37,8 +37,8 @@ impl Config for Runtime {
|
||||
type Time = Timestamp;
|
||||
type Randomness = RandomnessCollectiveFlip;
|
||||
type Currency = Balances;
|
||||
type Event = Event;
|
||||
type Call = Call;
|
||||
type RuntimeEvent = RuntimeEvent;
|
||||
type RuntimeCall = RuntimeCall;
|
||||
/// The safest default is to allow no calls at all.
|
||||
///
|
||||
/// Runtimes should whitelist dispatchables that are allowed to be called from contracts
|
||||
|
||||
Reference in New Issue
Block a user