-
Notifications
You must be signed in to change notification settings - Fork 81
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
native: implement designate contract history retention #1519
Conversation
I think it could reuse |
Codecov Report
@@ Coverage Diff @@
## master #1519 +/- ##
==========================================
+ Coverage 77.46% 77.48% +0.01%
==========================================
Files 229 229
Lines 17801 17843 +42
==========================================
+ Hits 13790 13825 +35
- Misses 3056 3058 +2
- Partials 955 960 +5
Continue to review full report at Codecov.
|
pkg/core/native_designate_test.go
Outdated
emit.Int(w.BinWriter, int64(index)) | ||
emit.Int(w.BinWriter, int64(r)) | ||
emit.Int(w.BinWriter, 2) | ||
emit.Opcodes(w.BinWriter, opcode.PACK) | ||
emit.String(w.BinWriter, "getDesignatedByRole") | ||
emit.AppCall(w.BinWriter, bc.contracts.Designate.Hash) |
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.
emit.AppCallWIthOperationAndArgs
?
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.
Yeah, I had this thought. Fixed.
Follow neo-project/neo#2007. Fix getDesignatedByRole price along the way.
b88c7bd
to
9e781bf
Compare
Follow neo-project/neo#2007. Fix getDesignatedByRole price along the way.