Enhancement: Add missing ArgEnum fields, tweaks to immediate note#4903
Enhancement: Add missing ArgEnum fields, tweaks to immediate note#4903jannotti merged 4 commits intoalgorand:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4903 +/- ##
==========================================
+ Coverage 54.08% 54.09% +0.01%
==========================================
Files 427 427
Lines 53528 53528
==========================================
+ Hits 28948 28958 +10
+ Misses 22314 22305 -9
+ Partials 2266 2265 -1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
jannotti
left a comment
There was a problem hiding this comment.
I think it's general good. I have some notes.
| ## block f | ||
|
|
||
| - Opcode: 0xd1 {uint8 block field} | ||
| - Opcode: 0xd1 {uint8 block field index} |
There was a problem hiding this comment.
I'm ok with this change (and similar, above) I suppose, but don't love it. The word "index" helps to convey that the encoding here is a number that is an index into an arbitrary list of fields, defined elsewhere. Without it, a reasonable person could ask, "What do you mean, how do I encode a field?"
On the other hand, it's not as though having the word index there makes it obvious what's going on.
There was a problem hiding this comment.
open to other suggestions, option?
Updating the
ImmediateNotefields to be a bit more consistent.Adding
ArgEnumhandler for several ops that were missing their immediate argument options.