Skip to content
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

Merged
merged 4 commits into from
Jun 27, 2023
Merged

[R4R] - {0.4.2}: Bugfix/sigma mnt 11 #1141

merged 4 commits into from
Jun 27, 2023

Conversation

Sha3nS
Copy link
Collaborator

@Sha3nS Sha3nS commented Jun 27, 2023

Goals of PR

Core changes:
fix sigma audit MNT-11

Notes:
no

Related Issues:
TBD

@Sha3nS Sha3nS changed the base branch from main to develop June 27, 2023 08:29
@Sha3nS Sha3nS changed the title Bugfix/sigma mnt 11 [R4R] - {0.4.2}: Bugfix/sigma mnt 11 Jun 27, 2023
byteflyfunny
byteflyfunny previously approved these changes Jun 27, 2023
import (
"fmt"
"github.com/stretchr/testify/require"
"testing"
Copy link
Collaborator

@abelliumnt abelliumnt Jun 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

go format imports

Copy link
Collaborator Author

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 {
Copy link
Collaborator

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?

Copy link
Collaborator Author

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

@Sha3nS Sha3nS merged commit 4d4f0c6 into develop Jun 27, 2023
@Sha3nS Sha3nS deleted the bugfix/sigma-MNT-11 branch June 27, 2023 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants