feat: check latest block if no arg in q block and q block-results (backport #21084) (#21111)

Co-authored-by: Julien Robert <julien@rbrt.fr>
Co-authored-by: sontrinh16 <trinhleson2000@gmail.com>
This commit is contained in:
mergify[bot]
2024-07-30 10:15:39 +02:00
committed by GitHub
co-authored by Julien Robert sontrinh16
parent e135030273
commit 91d412cc7d
3 changed files with 34 additions and 30 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ func (s *IntegrationTestSuite) SetupSuite() {
s.Require().NoError(err)
val0 := s.network.Validators[0]
s.conn, err = grpc.Dial(
s.conn, err = grpc.Dial( //nolint:staticcheck // ignore this line for this linter
val0.AppConfig.GRPC.Address,
grpc.WithInsecure(), //nolint:staticcheck // ignore SA1019, we don't need to use a secure connection for tests
grpc.WithDefaultCallOptions(grpc.ForceCodec(codec.NewProtoCodec(s.cfg.InterfaceRegistry).GRPCCodec())),