-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Check the module is exist before execute the view function #1700
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
@@ -50,6 +50,23 @@ impl CommandAction<AnnotatedFunctionResultView> for RunViewFunction { | |||
async fn execute(self) -> RoochResult<AnnotatedFunctionResultView> { | |||
let context = self.context.build()?; | |||
let address_mapping = context.address_mapping(); | |||
let module_id = self | |||
.function |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should check it on the RPC server side, not the client side.
|
Please help to fix the clippy errorerror: using |
#1004