Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
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
Implement signing types for test runtimes
  • Loading branch information
Rakan Alhneiti committed Apr 21, 2020
commit b11d2c943f74cc64d338fa76cbbbd271382cb343
5 changes: 5 additions & 0 deletions runtime/common/src/parachains.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1906,6 +1906,11 @@ mod tests {
}
}

impl system::offchain::SigningTypes for Test {
type Public = <Signature as Verify>::Signer;
type Signature = Signature;
}

type Parachains = Module<Test>;
type Balances = balances::Module<Test>;
type System = system::Module<Test>;
Expand Down
5 changes: 5 additions & 0 deletions runtime/common/src/registrar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,11 @@ mod tests {
}
}

impl system::offchain::SigningTypes for Test {
type Public = <Signature as Verify>::Signer;
type Signature = Signature;
}

parameter_types! {
pub const ParathreadDeposit: Balance = 10;
pub const QueueSize: usize = 2;
Expand Down