pub trait Msg: Send + Sync + 'static {
// Required method
fn update_params<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgUpdateParams>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgUpdateParamsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Generated trait containing gRPC methods that should be implemented for use with MsgServer.
Required Methods§
sourcefn update_params<'life0, 'async_trait>(
&'life0 self,
request: Request<MsgUpdateParams>
) -> Pin<Box<dyn Future<Output = Result<Response<MsgUpdateParamsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_params<'life0, 'async_trait>( &'life0 self, request: Request<MsgUpdateParams> ) -> Pin<Box<dyn Future<Output = Result<Response<MsgUpdateParamsResponse>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
UpdateParams defines a (governance) operation for updating the x/auth module parameters. The authority defaults to the x/gov module account.
Since: cosmos-sdk 0.47