From bc2e04c658f60d0cf6f5646451ee071c8f514b42 Mon Sep 17 00:00:00 2001 From: sanaz Date: Tue, 1 Oct 2024 11:28:18 -0700 Subject: [PATCH 1/4] indicates that the long form of the flags are used using double hypen --- test/e2e/testnet/txsimNode.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/e2e/testnet/txsimNode.go b/test/e2e/testnet/txsimNode.go index 25a17f6d15..d200c8b825 100644 --- a/test/e2e/testnet/txsimNode.go +++ b/test/e2e/testnet/txsimNode.go @@ -66,12 +66,12 @@ func CreateTxClient( return nil, err } args := []string{ - fmt.Sprintf("-grpc-endpoint %s", endpoint), - fmt.Sprintf("-poll-time %ds", pollTime), - fmt.Sprintf("-seed %d ", seed), - fmt.Sprintf("-blob %d ", sequences), - fmt.Sprintf("-blob-amounts %d ", blobsPerSeq), - fmt.Sprintf("-blob-sizes %s ", blobRange), + fmt.Sprintf("--grpc-endpoint %s", endpoint), + fmt.Sprintf("--poll-time %ds", pollTime), + fmt.Sprintf("--seed %d ", seed), + fmt.Sprintf("--blob %d ", sequences), + fmt.Sprintf("--blob-amounts %d ", blobsPerSeq), + fmt.Sprintf("--blob-sizes %s ", blobRange), } if err := txIns.Build().SetArgs(args...); err != nil { From 07daa0bbf755d525cbd97cf9ca546c8cf527f422 Mon Sep 17 00:00:00 2001 From: sanaz Date: Tue, 1 Oct 2024 11:28:27 -0700 Subject: [PATCH 2/4] passes the key-path --- test/e2e/testnet/txsimNode.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/e2e/testnet/txsimNode.go b/test/e2e/testnet/txsimNode.go index d200c8b825..285e798d66 100644 --- a/test/e2e/testnet/txsimNode.go +++ b/test/e2e/testnet/txsimNode.go @@ -72,6 +72,7 @@ func CreateTxClient( fmt.Sprintf("--blob %d ", sequences), fmt.Sprintf("--blob-amounts %d ", blobsPerSeq), fmt.Sprintf("--blob-sizes %s ", blobRange), + fmt.Sprintf("--key-path %s ", volumePath), } if err := txIns.Build().SetArgs(args...); err != nil { From 8ac82fe5ee1bdde13d1c13127cc7212f2493678c Mon Sep 17 00:00:00 2001 From: sanaz Date: Tue, 1 Oct 2024 11:28:37 -0700 Subject: [PATCH 3/4] modifies a godoc --- test/e2e/simple.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/simple.go b/test/e2e/simple.go index 7999c726a0..65ba90d0b4 100644 --- a/test/e2e/simple.go +++ b/test/e2e/simple.go @@ -11,7 +11,7 @@ import ( "github.com/celestiaorg/celestia-app/v3/test/util/testnode" ) -// This test runs a simple testnet with 4 validators. It submits both MsgPayForBlobs +// E2ESimple runs a simple testnet with 4 validators. It submits both MsgPayForBlobs // and MsgSends over 30 seconds and then asserts that at least 10 transactions were // committed. func E2ESimple(logger *log.Logger) error { From 71fb6488e4e7e720f794c091d3790a710f19b849 Mon Sep 17 00:00:00 2001 From: sanaz Date: Wed, 2 Oct 2024 15:41:57 -0700 Subject: [PATCH 4/4] logs txclient args for visibility and debugging --- test/e2e/testnet/txsimNode.go | 1 + 1 file changed, 1 insertion(+) diff --git a/test/e2e/testnet/txsimNode.go b/test/e2e/testnet/txsimNode.go index 285e798d66..4f05f1d5e0 100644 --- a/test/e2e/testnet/txsimNode.go +++ b/test/e2e/testnet/txsimNode.go @@ -79,6 +79,7 @@ func CreateTxClient( return nil, err } + log.Info().Str("args", fmt.Sprintf("%v", args)).Msg("setting args for tx client") return &TxSim{ Name: name, Instance: txIns,