Skip to content

Commit

Permalink
fix: disable multimode loadtesting for blob transactions
Browse files Browse the repository at this point in the history
Signed-off-by: Ji Hwan <[email protected]>
  • Loading branch information
jhkimqd committed Jun 5, 2024
1 parent 86be30b commit fa42df0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/loadtest/loadtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,10 @@ func initializeLoadTestParams(ctx context.Context, c *ethclient.Client) error {
return errors.New("using call only with adaptive rate limit doesn't make sense")
}

if hasMode(loadTestModeBlob, inputLoadTestParams.ParsedModes) && inputLoadTestParams.MultiMode {
return errors.New("Blob mode should only be used by itself. Blob mode will take significantly longer than other transactions to finalize, and the address will be reserved, preventing other transactions form being made.")
}

randSrc = rand.New(rand.NewSource(*inputLoadTestParams.Seed))

return nil
Expand Down

0 comments on commit fa42df0

Please sign in to comment.