Skip to content

Commit

Permalink
Merge branch 'master' into fix/call-seq-mutator-encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
0xalpharush authored Jul 2, 2024
2 parents 320b2af + a9122ed commit afbd319
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion fuzzing/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ func (p *ProjectConfig) Validate() error {

// Verify that the sequence length is a positive number
if p.Fuzzing.CallSequenceLength <= 0 {
return errors.New("project configuration must specify a positive number for the transaction sequence lengt")
return errors.New("project configuration must specify a positive number for the transaction sequence length")
}

// Verify the worker reset limit is a positive number
Expand Down
9 changes: 5 additions & 4 deletions fuzzing/test_case_optimization.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ package fuzzing

import (
"fmt"
"math/big"
"strings"
"sync"

"github.com/crytic/medusa/fuzzing/calls"
"github.com/crytic/medusa/fuzzing/contracts"
"github.com/crytic/medusa/fuzzing/executiontracer"
"github.com/crytic/medusa/logging"
"github.com/crytic/medusa/logging/colors"
"github.com/ethereum/go-ethereum/accounts/abi"
"math/big"
"strings"
"sync"
)

// OptimizationTestCase describes a test being run by a OptimizationTestCaseProvider.
Expand Down Expand Up @@ -47,7 +48,7 @@ func (t *OptimizationTestCase) Name() string {
return fmt.Sprintf("Optimization Test: %s.%s", t.targetContract.Name(), t.targetMethod.Sig)
}

// LogMessage obtains a buffer that represents the result of the AssertionTestCase. This buffer can be passed to a logger for
// LogMessage obtains a buffer that represents the result of the OptimizationTestCase. This buffer can be passed to a logger for
// console or file logging.
func (t *OptimizationTestCase) LogMessage() *logging.LogBuffer {
buffer := logging.NewLogBuffer()
Expand Down

0 comments on commit afbd319

Please sign in to comment.