Skip to content

Commit

Permalink
Update signature of txm in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
reductionista committed Nov 6, 2024
1 parent 231384b commit 05c13b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pkg/solana/txm/txm_race_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
"go.uber.org/zap/zapcore"

"github.com/smartcontractkit/chainlink-common/pkg/logger"
sqlutilmocks "github.com/smartcontractkit/chainlink-common/pkg/sqlutil/mocks"
"github.com/smartcontractkit/chainlink-common/pkg/utils"
"github.com/smartcontractkit/chainlink-common/pkg/utils/tests"

Expand Down Expand Up @@ -66,7 +67,7 @@ func TestTxm_SendWithRetry_Race(t *testing.T) {
loader := utils.NewLazyLoad(func() (solanaClient.ReaderWriter, error) {
return client, nil
})
txm := NewTxm("retry_race", loader, nil, cfg, ks, lggr)
txm := NewTxm("retry_race", loader, nil, cfg, ks, lggr, sqlutilmocks.NewDataSource(t))
txm.fee = fee

_, _, _, err := txm.sendWithRetry(
Expand Down
2 changes: 1 addition & 1 deletion pkg/solana/txm/txm_unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/smartcontractkit/chainlink-common/pkg/utils/tests"
)

func TestTxm_EstimateComputeUnitLimit(t *testing.T) {
func TestTxm_EstimateComputeUnitLimit(t testing.T) {

Check failure on line 26 in pkg/solana/txm/txm_unit_test.go

View workflow job for this annotation

GitHub Actions / Relay Run Unit Tests

wrong signature for TestTxm_EstimateComputeUnitLimit, must be: func TestTxm_EstimateComputeUnitLimit(t *testing.T)
t.Parallel()

ctx := tests.Context(t)
Expand Down

0 comments on commit 05c13b9

Please sign in to comment.