mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Tidy serai-signals-pallet
Adds `serai-validator-sets-pallet` and `serai-signals-pallet` to the runtime.
This commit is contained in:
@@ -237,7 +237,7 @@ mod substrate {
|
||||
use scale::{Encode, Decode};
|
||||
use sp_runtime::{
|
||||
transaction_validity::*,
|
||||
traits::{Verify, ExtrinsicLike, Dispatchable, ValidateUnsigned, Checkable, Applyable},
|
||||
traits::{Verify, ExtrinsicLike, ExtrinsicCall, Dispatchable, ValidateUnsigned, Checkable, Applyable},
|
||||
Weight,
|
||||
};
|
||||
#[rustfmt::skip]
|
||||
@@ -318,6 +318,13 @@ mod substrate {
|
||||
}
|
||||
}
|
||||
|
||||
impl ExtrinsicCall for Transaction {
|
||||
type Call = Self;
|
||||
fn call(&self) -> &Self {
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
impl<Context: TransactionContext> GetDispatchInfo for TransactionWithContext<Context> {
|
||||
fn get_dispatch_info(&self) -> DispatchInfo {
|
||||
match &self.0 {
|
||||
|
||||
Reference in New Issue
Block a user