Skip to content

Commit 6b2c494

Browse files
committed
fix: linting
1 parent daeb2fb commit 6b2c494

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

pkg/logger/logger_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ func Test_NewLogger(t *testing.T) {
3535
wantErr: "unrecognized level: \"invalid\"",
3636
},
3737
{
38-
name: "invalid output",
39-
level: "info",
40-
output: "invalid",
38+
name: "invalid output",
39+
level: "info",
40+
output: "invalid",
4141
wantErr: "invalid logger output: \"invalid\"",
4242
},
4343
}

pkg/timelock/operations.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func (tw *Worker) executeCallSchedule(ctx context.Context, c *contracts.RBACTime
8686
// Execute the tx's with all the computed calls.
8787
// Predecessor and salt are the same for all the tx's.
8888
return Retry(ctx, func(rctx context.Context) (*types.Transaction, error) {
89-
txOpts.Context = rctx //nolint:fatcontext
89+
txOpts.Context = rctx
9090
return c.ExecuteBatch(txOpts, calls, cs[0].Predecessor, cs[0].Salt)
9191
})
9292
}

tests/integration/suite_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ import (
77
)
88

99
func TestIntegrationTestSuite(t *testing.T) {
10-
suite.Run(t, new(integrationTestSuite))
10+
suite.Run(t, new(integrationTestSuite))
1111
}

tests/integration/timelock_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ func (s *integrationTestSuite) TestTimelockWorkerPollSize() {
209209
account.Address, big.NewInt(1))
210210
callProxyAddress, _, _, _ := DeployCallProxy(s.T(), ctx, transactor, backend, timelockAddress)
211211

212-
time.Sleep(1*time.Second) // wait for a few blocks before starting the timelock worker service
212+
time.Sleep(1 * time.Second) // wait for a few blocks before starting the timelock worker service
213213

214214
// --- act ---
215215
go runTimelockWorker(s.T(), ctx, gethURL, timelockAddress.String(), callProxyAddress.String(),

0 commit comments

Comments
 (0)