diff --git a/chainio/clients/elcontracts/reader_test.go b/chainio/clients/elcontracts/reader_test.go index 0f327b1c..19bc8668 100644 --- a/chainio/clients/elcontracts/reader_test.go +++ b/chainio/clients/elcontracts/reader_test.go @@ -806,7 +806,11 @@ func TestInvalidConfig(t *testing.T) { t.Run("try to get the delegated operator shares with invalid config", func(t *testing.T) { // GetDelegatedOperator needs a correct DelegationManagerAddress - _, err := chainReader.GetDelegatedOperator(context.Background(), common.HexToAddress(operator.Address), big.NewInt(0)) + _, err := chainReader.GetDelegatedOperator( + context.Background(), + common.HexToAddress(operator.Address), + big.NewInt(0), + ) require.Error(t, err) }) }