Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
fbac committed Aug 8, 2024
1 parent 5f2e9c8 commit d987a02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions testutil/network/network_setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ func (n *Network) LatestHeight() (int64, error) {
for {
select {
case <-timeout.C:
return latestHeight, errors.New("timeout exceeded waiting for block")
return latestHeight, errors.New("LatestHeight: timeout exceeded waiting for block")
case <-ticker.C:
res, err := queryClient.GetLatestBlock(context.Background(), &tmservice.GetLatestBlockRequest{})
if err == nil && res != nil {
Expand Down Expand Up @@ -590,7 +590,7 @@ func (n *Network) WaitForHeightWithTimeout(h int64, t time.Duration) (int64, err
for {
select {
case <-timeout.C:
return latestHeight, errors.New("timeout exceeded waiting for block")
return latestHeight, errors.New("WaitForHeightWithTimeout: timeout exceeded waiting for block")
case <-ticker.C:

res, err := queryClient.GetLatestBlock(context.Background(), &tmservice.GetLatestBlockRequest{})
Expand Down
4 changes: 2 additions & 2 deletions x/crosschain/client/querytests/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
cmdcfg "github.com/zeta-chain/zetacore/cmd/zetacored/config"
"github.com/zeta-chain/zetacore/testutil/network"
"github.com/zeta-chain/zetacore/x/crosschain/types"
observerTypes "github.com/zeta-chain/zetacore/x/observer/types"
observertypes "github.com/zeta-chain/zetacore/x/observer/types"
)

type CliTestSuite struct {
Expand All @@ -18,7 +18,7 @@ type CliTestSuite struct {
cfg network.Config
network *network.Network
crosschainState *types.GenesisState
observerState *observerTypes.GenesisState
observerState *observertypes.GenesisState
}

func NewCLITestSuite(cfg network.Config) *CliTestSuite {
Expand Down

0 comments on commit d987a02

Please sign in to comment.