Skip to content

Commit

Permalink
Various small tweaks to the load generator. (#1316)
Browse files Browse the repository at this point in the history
Signed-off-by: Cody Littley <cody@eigenlabs.org>
  • Loading branch information
cody-littley authored Feb 24, 2025
1 parent f4b3ef7 commit dc78642
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 20 deletions.
6 changes: 4 additions & 2 deletions test/v2/client/test_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,12 @@ func NewTestClient(
// values, rather than just using the default. Consider a testing strategy that would exercise both encoding
// options.
payloadClientConfig := clients.GetDefaultPayloadClientConfig()
payloadClientConfig.ContractCallTimeout = 1337 * time.Hour // this suite enforces its own timeouts

payloadDisperserConfig := clients.PayloadDisperserConfig{
PayloadClientConfig: *payloadClientConfig,
DisperseBlobTimeout: 1337 * time.Hour, // this suite enforces its own timeouts
PayloadClientConfig: *payloadClientConfig,
DisperseBlobTimeout: 1337 * time.Hour, // this suite enforces its own timeouts
BlobCertifiedTimeout: 1337 * time.Hour, // this suite enforces its own timeouts
}
payloadDisperser, err := clients.NewPayloadDisperser(
logger,
Expand Down
6 changes: 1 addition & 5 deletions test/v2/config/load/100kb_s-1mb-3x.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,5 @@
"RelayReadAmplification": 3,
"ValidatorReadAmplification": 3,
"MaxParallelism": 100,
"DispersalTimeout": 300,
"Quorums": [
0,
1
]
"DispersalTimeout": 300
}
6 changes: 1 addition & 5 deletions test/v2/config/load/1mb_s-1mb-0x.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,5 @@
"RelayReadAmplification": 0,
"ValidatorReadAmplification": 0,
"MaxParallelism": 100,
"DispersalTimeout": 300,
"Quorums": [
0,
1
]
"DispersalTimeout": 300
}
6 changes: 1 addition & 5 deletions test/v2/config/load/3mb_s-1mb-0x.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,5 @@
"RelayReadAmplification": 0,
"ValidatorReadAmplification": 0,
"MaxParallelism": 100,
"DispersalTimeout": 300,
"Quorums": [
0,
1
]
"DispersalTimeout": 300
}
3 changes: 0 additions & 3 deletions test/v2/load/load_generator_config.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package load

import (
"github.com/Layr-Labs/eigenda/core"
"time"
)

Expand All @@ -24,6 +23,4 @@ type LoadGeneratorConfig struct {
MaxParallelism uint64
// The timeout for each blob dispersal.
DispersalTimeout time.Duration
// The quorums to use for the load test.
Quorums []core.QuorumID
}

0 comments on commit dc78642

Please sign in to comment.