-
Notifications
You must be signed in to change notification settings - Fork 382
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
feat: PrevRealm ignores user realms in MsgRun #1719
feat: PrevRealm ignores user realms in MsgRun #1719
Conversation
Fix gnolang#1664 As commented in the IsRealm() method, a better format of user realms should emerge in the form of `gno.land/u/user_address`, which would remove the confusion between standard realms and the realm forged under the MsgRun transaction.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1719 +/- ##
=======================================
Coverage 49.01% 49.01%
=======================================
Files 576 576
Lines 77604 77605 +1
=======================================
+ Hits 38035 38036 +1
- Misses 36486 36487 +1
+ Partials 3083 3082 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@tbruyelle If I understand correctly, this only modifies the PrevRealm in case of MsgRun? If so, I changed the name of the PR to make it more clear |
Yes, this is exactly that, thanks for the clarification. |
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.
Looks mostly good.
Fix #1664
As commented in the IsRealm() method, a better format of user realms should emerge in the form of
gno.land/u/user_address
, which would remove the confusion between standard realms and the realm forged under the MsgRun transaction.BREAKING CHANGE:
std.PrevRealm
is not returning the user realm any more when invoked under a transaction broadcasted byMsgRun
.To run the txtar test:
Contributors' checklist...
BREAKING CHANGE: xxx
message was included in the description