Skip to content

Commit 6454a84

Browse files
committed
some stuff
1 parent 02e7b08 commit 6454a84

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

activities/loadtest/loadtest.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ type PetriChain interface {
6969
GetNodes() []types.NodeI
7070
}
7171

72+
// TODO: this function is kind of confusing because we give it a half-baked loadtest spec, and then fill in the rest.
73+
// I'm not sure if there is a better/more clearer way to go about this, but it seems confusing as is.
7274
func generateLoadTestSpec(ctx context.Context, logger *zap.Logger, chain PetriChain, chainID string,
7375
loadTestSpec ctltypes.LoadTestSpec, baseMnemonic string, numWallets int,
7476
) ([]byte, error) {

workflows/testnet/testnet.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,6 @@ func startWorkflow(ctx workflow.Context, req messages.TestnetWorkflowRequest, ru
297297

298298
shutdownSelector := workflow.NewSelector(ctx)
299299
// 1. load test selector
300-
// TODO: do catalyst refactor here.
301300
loadTestFuture, err := runLoadTest(ctx, req, chainState, providerState, shutdownSelector)
302301
if err != nil {
303302
workflow.GetLogger(ctx).Error("load test initiation failed", zap.Error(err))

0 commit comments

Comments
 (0)