mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 00:01:03 +00:00
XCM remove extra QueryId types from traits (#3763)
We do not need to make these traits generic over QueryId type, we can just use the QueryId alias everywhere
This commit is contained in:
@@ -132,7 +132,7 @@ pub trait QueryController<Origin, Timeout>: QueryHandler {
|
||||
origin: Origin,
|
||||
timeout: Timeout,
|
||||
match_querier: VersionedLocation,
|
||||
) -> Result<Self::QueryId, DispatchError>;
|
||||
) -> Result<QueryId, DispatchError>;
|
||||
}
|
||||
|
||||
impl<Origin, RuntimeCall> ExecuteController<Origin, RuntimeCall> for () {
|
||||
@@ -186,7 +186,7 @@ impl<Origin, Timeout> QueryController<Origin, Timeout> for () {
|
||||
_origin: Origin,
|
||||
_timeout: Timeout,
|
||||
_match_querier: VersionedLocation,
|
||||
) -> Result<Self::QueryId, DispatchError> {
|
||||
) -> Result<QueryId, DispatchError> {
|
||||
Ok(Default::default())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user