-
Notifications
You must be signed in to change notification settings - Fork 445
feat(stdlibs): banker.OriginSend return condition #5039
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
base: master
Are you sure you want to change the base?
Conversation
The function will return the sent coins only if the caller is the same as the one that received the coins (hence, the second frame in the list).
🛠 PR Checks Summary🔴 Pending initial approval by a review team member, or review from tech-staff Manual Checks (for Reviewers):
Read More🤖 This bot helps streamline PR reviews by verifying automated checks and providing guidance for contributors and reviewers. ✅ Automated Checks (for Contributors):🟢 Maintainers must be able to edit this pull request (more info) ☑️ Contributor Actions:
☑️ Reviewer Actions:
📚 Resources:Debug
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
I think we should implement the existing-but-missing The idea would be that the realm object exposes a Banker that returns the amount of tokens sent by the previous caller. For an entry-point contract, this corresponds to the This keeps the model consistent and avoids special-case helpers. gno/gnovm/pkg/gnolang/uverse.go Line 986 in 039733d
|
|
It looks like it's |
The function will return the sent coins only if the caller is the same as the one that received the coins (hence, the second frame in the list).