-
Notifications
You must be signed in to change notification settings - Fork 398
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
fix: govDAO: Use GetOrigCaller() to be able to run proposals using MsgRun #2556
Conversation
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.
using getorigcaller here means that a malicious contract in the middle can perform actions on the DAO on behalf of the OrigCaller
we are, in fact, considering removing GetOrigCaller entirely
if the issue we're trying to tackle is using MsgRun with a closure, we should fix that one instead
3b412e4
to
cf28bc5
Compare
Fixed that and also improve details rendering adding an extra space. Signed-off-by: Antonio Navarro Perez <[email protected]>
cf28bc5
to
9d0a13c
Compare
Going back to using GetOrigCaller(). Added a warning to change when MsgRun can persist the code that is going out of the main function scope. |
Signed-off-by: Antonio Navarro Perez <[email protected]>
We discussed internally, and the change is alright as a patch. Dismissing so we can merge quickly 🙏
…gRun (gnolang#2556) Fixed that and also improve details rendering adding an extra space. --------- Signed-off-by: Antonio Navarro Perez <[email protected]>
Fixed that and also improve details rendering adding an extra space.