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
AVM: Expose global
fields to TEAL that return MBR for asset create/optin
#5680
Conversation
They are actually returning the same internal constant, but this will allow people to write "future proof" smart contracts that care about the mbr incremenet for creating or opting into assets.
global
fields to TEAL that return MBR for asset create/optinglobal
fields to TEAL that return MBR for asset create/optin
Codecov Report
@@ Coverage Diff @@
## master #5680 +/- ##
==========================================
+ Coverage 55.16% 55.17% +0.01%
==========================================
Files 465 465
Lines 64971 64975 +4
==========================================
+ Hits 35840 35849 +9
Misses 26734 26734
+ Partials 2397 2392 -5
... and 8 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
seems good, tests are passing, and it seems to be benefiting a few testcases in simulation side
They are actually returning the same internal constant, but this will allow people to write "future proof" smart contracts that care about the mbr increment for creating or opting into assets.
Extended the "usual" tests for new fields to make sure they only appear in v10 and not before.