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

chore: fix some function names #11989

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions itests/fevm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ func TestFEVMTestApp(t *testing.T) {

}

// TestFEVMTestApp creates a contract that just has a self destruct feature and calls it
// TestFEVMTestConstructor creates a contract that just has a self destruct feature and calls it
func TestFEVMTestConstructor(t *testing.T) {
ctx, cancel, client := kit.SetupFEVMTest(t)
defer cancel()
Expand Down Expand Up @@ -407,7 +407,7 @@ func TestFEVMAutoSelfDestruct(t *testing.T) {
require.NoError(t, err)
}

// TestFEVMTestApp creates a contract that just has a self destruct feature and calls it
// TestFEVMTestSendToContract creates a contract that just has a self destruct feature and calls it
func TestFEVMTestSendToContract(t *testing.T) {
ctx, cancel, client := kit.SetupFEVMTest(t)
defer cancel()
Expand Down
2 changes: 1 addition & 1 deletion itests/kit/files.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func CreateRandomFile(t *testing.T, rseed, size int) (path string) {
return file.Name()
}

// CreateRandomFile creates a normal file with the provided seed and the
// CreateRandomCARv1 creates a normal file with the provided seed and the
// provided size and then transforms it to a CARv1 file and returns it.
func CreateRandomCARv1(t *testing.T, rseed, size int, opts ...GeneratedDAGOpts) (carV1FilePath string, origFilePath string) {
ctx := context.Background()
Expand Down
2 changes: 1 addition & 1 deletion lib/harmony/taskhelp/common.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package taskhelp

// SubsetIf returns a subset of the slice for which the predicate is true.
// SliceIfFound returns a subset of the slice for which the predicate is true.
// It does not allocate memory, but rearranges the list in place.
// A non-zero list input will always return a non-zero list.
// The return value is the subset and a boolean indicating whether the subset was sliced.
Expand Down
Loading