-
Notifications
You must be signed in to change notification settings - Fork 493
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: Version downgrade check ported to master #4093
Conversation
@@ -726,9 +726,9 @@ func ProgramVersion(bytecode []byte) (version uint64, length int, err error) { | |||
// matching versions between approval and clearstate. | |||
const syncProgramsVersion = 6 | |||
|
|||
// CheckContractVersions ensures that for v6 and higher two programs are version |
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.
@jannotti see if this wording works or feel free to adjust inline on the branch.
Codecov Report
@@ Coverage Diff @@
## master #4093 +/- ##
==========================================
- Coverage 54.46% 54.46% -0.01%
==========================================
Files 391 391
Lines 48668 48668
==========================================
- Hits 26508 26505 -3
- Misses 19934 19937 +3
Partials 2226 2226
Continue to review full report at Codecov.
|
Co-authored-by: John Jannotti <[email protected]>
Co-authored-by: John Jannotti <[email protected]>
Co-authored-by: John Jannotti <[email protected]>
Co-authored-by: John Jannotti <[email protected]>
Summary
Applied JJ's fix for inner app downgrade version checking along with minor comment tweaks.