test(systemtests): fix gRPC tests for v1 & v2 (#22774)

This commit is contained in:
Julien Robert
2024-12-06 11:03:12 +00:00
committed by GitHub
parent 3a2a0ac666
commit 4caac04c23
8 changed files with 233 additions and 170 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ func (a appManager[T]) Query(ctx context.Context, version uint64, request transa
_, queryState, err = a.db.StateLatest()
}
if err != nil {
return nil, err
return nil, fmt.Errorf("invalid height: %w", err)
}
return a.stf.Query(ctx, queryState, a.config.QueryGasLimit, request)
}