-
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
Extend global and txn field tests for all TEAL versions and protocols #2669
Conversation
e62953e
to
94920c4
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.
Looks great, 1 small possible improvement.
94920c4
to
4ad8cfc
Compare
@@ -52,6 +52,7 @@ func defaultEvalProtoWithVersion(version uint64) config.ConsensusParams { | |||
return config.ConsensusParams{ | |||
LogicSigVersion: version, | |||
LogicSigMaxCost: 20000, | |||
Application: version >= appsEnabledVersion, |
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.
nice
* Move tests from backwardCompat_test.go to fields_test.go * Check every field on a version before it was introduced * Enable txna fields checks * Fix TestGlobal to prevent invalid version specs in tests map
4ad8cfc
to
0510b0a
Compare
Codecov Report
@@ Coverage Diff @@
## master #2669 +/- ##
==========================================
- Coverage 47.05% 47.04% -0.01%
==========================================
Files 349 349
Lines 55833 55833
==========================================
- Hits 26271 26266 -5
- Misses 26613 26620 +7
+ Partials 2949 2947 -2
Continue to review full report at Codecov.
|
Summary
Test Plan
This is tests improvement PR