From fa42df0aa682c2b02a5511fadd45479765bc1767 Mon Sep 17 00:00:00 2001 From: Ji Hwan Date: Wed, 5 Jun 2024 09:50:28 +0900 Subject: [PATCH] fix: disable multimode loadtesting for blob transactions Signed-off-by: Ji Hwan --- cmd/loadtest/loadtest.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/loadtest/loadtest.go b/cmd/loadtest/loadtest.go index 35a37c25..be6fdba7 100644 --- a/cmd/loadtest/loadtest.go +++ b/cmd/loadtest/loadtest.go @@ -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