-
Notifications
You must be signed in to change notification settings - Fork 18
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
Update/Must use on abstract sdk methods #86
Update/Must use on abstract sdk methods #86
Conversation
Deploying with Cloudflare Pages
|
It's already something that the sdk provides helpers for simple message mechanisms. |
Shouldn't we have a single way of executing all those actions ? |
Right now executor executes actions only from the proxy, idk if we want to expand that. |
Co-authored-by: CyberHoward <88450409+CyberHoward@users.noreply.github.com>
I think Nicolas brings up a good point. The executor API is kind of confusing but IMO we should stick with it for now. We can look into removing the need for Response construction entirely by having a call stack inside the module struct itself and executing that stack at the end of a contract's execution. |
This adds warnings on unused
AccountAction
and unusedCosmosMsg
from theExecutor
add_message
andadd_messages
takesimpl Into<CosmosMsg<T>>
, so it shouldn't affect users.add_submessage
takes rawSubMsg<T>
.So we still have an issue: we can't implement message wrapper with unused warning for unused SubMsg, because it will require users to cast it using "into" every time
Checklist