-
Notifications
You must be signed in to change notification settings - Fork 379
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
Banker should use PrevRealm
instead of OrigPkgAddr
#986
Milestone
Comments
14 tasks
3 tasks
16 tasks
moul
moved this from 🌟 Wanted for Launch
to 🚀 Needed for Launch
in 🚀 The Launch [DEPRECATED]
Sep 5, 2023
7 tasks
thehowl
changed the title
how should the banker returned by
Banker should use May 7, 2024
std.GetBanker
be namespaced?PrevRealm
instead of OrigPkgAddr
Updated the issue to match the real problem (understood with a bit of good ol' hindsight) |
Got confused, this is actually fixed by https://github.com/gnolang/gno/pull/1787/files#diff-7e49714abed60dd5f698bfa4ddf3afd61fc6a56872290e2e635139a7a140639b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
X_bankerSendCoins
currently usesOrigPkgAddr
to determine which "bank" to access.We should make
BankerTypeOrigSend
only accessible to realms being directly called (ie. PrevRealm().IsUser()), andBankerTypeSend
scoped to them.CurrentRealm().Addr()
of who created them.The text was updated successfully, but these errors were encountered: