Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
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 formatting.
  • Loading branch information
shaunxw committed Jul 2, 2020
commit 9063b153c9cccecb09d9611d6d5f03fd8f01cc25
6 changes: 4 additions & 2 deletions frame/support/test/tests/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ mod module1 {

frame_support::decl_module! {
pub struct Module<T: Trait<I>, I: InstantiableThing> for enum Call where
origin: <T as system::Trait>::Origin, system = system,
origin: <T as system::Trait>::Origin,
system = system,
T::BlockNumber: From<u32>
{
fn offchain_worker() {}
Expand Down Expand Up @@ -128,7 +129,8 @@ mod module2 {

frame_support::decl_module! {
pub struct Module<T: Trait<I>, I: Instance=DefaultInstance> for enum Call where
origin: <T as system::Trait>::Origin, system = system
origin: <T as system::Trait>::Origin,
system = system
{
fn deposit_event() = default;
}
Expand Down