Skip to content

improved a few error handlling

Codecov / codecov/patch failed Apr 19, 2024 in 0s

34.41% of diff hit (target 71.25%)

View this Pull Request on Codecov

34.41% of diff hit (target 71.25%)

Annotations

Check warning on line 132 in x/crosschain/keeper/grpc_query_cctx.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx.go#L132

Added line #L132 was not covered by tests

Check warning on line 152 in x/crosschain/keeper/grpc_query_cctx.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx.go#L152

Added line #L152 was not covered by tests

Check warning on line 33 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L33

Added line #L33 was not covered by tests

Check warning on line 50 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L50

Added line #L50 was not covered by tests

Check warning on line 61 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L59-L61

Added lines #L59 - L61 were not covered by tests

Check warning on line 74 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L74

Added line #L74 was not covered by tests

Check warning on line 85 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L85

Added line #L85 was not covered by tests

Check warning on line 90 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L89-L90

Added lines #L89 - L90 were not covered by tests

Check warning on line 98 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L94-L98

Added lines #L94 - L98 were not covered by tests

Check warning on line 105 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L102-L105

Added lines #L102 - L105 were not covered by tests

Check warning on line 113 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L112-L113

Added lines #L112 - L113 were not covered by tests

Check warning on line 115 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L115

Added line #L115 was not covered by tests

Check warning on line 119 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L118-L119

Added lines #L118 - L119 were not covered by tests

Check warning on line 124 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L122-L124

Added lines #L122 - L124 were not covered by tests

Check warning on line 132 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L129-L132

Added lines #L129 - L132 were not covered by tests

Check warning on line 141 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L141

Added line #L141 was not covered by tests

Check warning on line 146 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L145-L146

Added lines #L145 - L146 were not covered by tests

Check warning on line 152 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L148-L152

Added lines #L148 - L152 were not covered by tests

Check warning on line 157 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L156-L157

Added lines #L156 - L157 were not covered by tests

Check warning on line 162 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L160-L162

Added lines #L160 - L162 were not covered by tests

Check warning on line 164 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L164

Added line #L164 was not covered by tests

Check warning on line 172 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L168-L172

Added lines #L168 - L172 were not covered by tests

Check warning on line 186 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L182-L186

Added lines #L182 - L186 were not covered by tests

Check warning on line 191 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L188-L191

Added lines #L188 - L191 were not covered by tests

Check warning on line 194 in x/crosschain/keeper/grpc_query_cctx_rate_limit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

x/crosschain/keeper/grpc_query_cctx_rate_limit.go#L193-L194

Added lines #L193 - L194 were not covered by tests