-
Notifications
You must be signed in to change notification settings - Fork 100
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
[R4R] - {0.4.2}: Bugfix/sigma mnt 11 #1141
Conversation
import ( | ||
"fmt" | ||
"github.com/stretchr/testify/require" | ||
"testing" |
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.
go format imports
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.
done
@@ -252,3 +255,27 @@ func TestIsMarkerContext(t *testing.T) { | |||
} | |||
require.True(t, batchContext.IsMarkerContext()) | |||
} | |||
|
|||
func TestReadUint64(t *testing.T) { | |||
readUint64 := func(r io.Reader, val *uint64, n uint) error { |
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.
Why do you define readUint64
again here? Can we just call the readUint64
in batch-submitter/drivers/sequencer/encoding.go
?
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.
test file is in a different package, can't reference an unexported method
609665b
to
b452e65
Compare
b452e65
to
95b3821
Compare
Goals of PR
Core changes:
fix sigma audit MNT-11
Notes:
no
Related Issues:
TBD