-
Notifications
You must be signed in to change notification settings - Fork 471
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: Share resource arrays across transactions #5035
Conversation
0971904
to
ac0b64f
Compare
Codecov Report
@@ Coverage Diff @@
## master #5035 +/- ##
==========================================
+ Coverage 53.77% 53.92% +0.14%
==========================================
Files 450 451 +1
Lines 56193 56401 +208
==========================================
+ Hits 30218 30414 +196
- Misses 23625 23636 +11
- Partials 2350 2351 +1
... and 6 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
cdea9ff
to
72b3af4
Compare
9e4a99b
to
5fbe790
Compare
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.
My comments so far from spending time in the logic
package. More to come
e56a06b
to
79a5f42
Compare
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.
This is the last of my implementation comments. I'll start taking a closer look at tests now
c27d00d
to
f262a0e
Compare
8d30fca
to
8d0b6a9
Compare
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.
Existing tests look good, I just left some minor comments.
Holding back on approving because I don't recall seeing any tests of a v9 app calling a v8 one, especially with regard to the strict foreign resource checks. It would be really nice to have coverage there.
I already have tests for the bug fix (the change is in EvalContext.availableAccount(), but they rely on a fair bit of code I have in the next PR, so I will include it there.
This PR will allow v9 apps to access resources named in any top-level transaction of the group, rather than only the resources named by this transaction. Non-appl transactions are treated as though they name of accounts and resources that are required to process the transaction.