-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
The macro fn_execute change the visibility of the created function when pub is not specified.
($name:ident: $req:ty[$type_url:expr] => $res:ty) => {
pub fn $name(
&self,
msg: $req,
signer: &$crate::SigningAccount,
) -> $crate::RunnerExecuteResult<$res> {
self.runner.execute(msg, $type_url, signer)
}
};
($name:ident: $req:ty => $res:ty) => {
pub fn $name(
&self,
msg: $req,
signer: &$crate::SigningAccount,
) -> $crate::RunnerExecuteResult<$res> {
self.runner.execute(msg, <$req>::TYPE_URL, signer)
}
};I saw that in fn_query the visibility is maintained. Is this intentional? Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels