mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 02:07:56 +00:00
Migrate srml-support to the 2018 edition (#1663)
This commit is contained in:
committed by
Gav Wood
parent
ddb44db551
commit
87f0f6fd8f
@@ -238,7 +238,8 @@ mod tests {
|
||||
StorageFunctionMetadata,
|
||||
ModuleMetadata, RuntimeMetadataPrefixed
|
||||
};
|
||||
use codec::{Decode, Encode};
|
||||
use crate::codec::{Encode, Decode};
|
||||
use parity_codec_derive::{Decode, Encode};
|
||||
|
||||
|
||||
mod system {
|
||||
@@ -278,7 +279,7 @@ mod tests {
|
||||
}
|
||||
|
||||
mod event_module {
|
||||
use dispatch::Result;
|
||||
use crate::dispatch::Result;
|
||||
|
||||
pub trait Trait {
|
||||
type Origin;
|
||||
@@ -319,7 +320,7 @@ mod tests {
|
||||
pub struct Module<T: Trait> for enum Call where origin: T::Origin {}
|
||||
}
|
||||
|
||||
decl_storage! {
|
||||
crate::decl_storage! {
|
||||
trait Store for Module<T: Trait> as TestStorage {
|
||||
StorageMethod : Option<u32>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user