feat: add Solana RPC status check and some refactor around RPC status check #2751
5.92% of diff hit (target 66.90%)
View this Pull Request on Codecov
5.92% of diff hit (target 66.90%)
Annotations
Check warning on line 13 in zetaclient/chains/bitcoin/observer/rpc_status.go
codecov / codecov/patch
zetaclient/chains/bitcoin/observer/rpc_status.go#L12-L13
Added lines #L12 - L13 were not covered by tests
Check warning on line 20 in zetaclient/chains/bitcoin/observer/rpc_status.go
codecov / codecov/patch
zetaclient/chains/bitcoin/observer/rpc_status.go#L15-L20
Added lines #L15 - L20 were not covered by tests
Check warning on line 27 in zetaclient/chains/bitcoin/observer/rpc_status.go
codecov / codecov/patch
zetaclient/chains/bitcoin/observer/rpc_status.go#L23-L27
Added lines #L23 - L27 were not covered by tests
Check warning on line 31 in zetaclient/chains/bitcoin/observer/rpc_status.go
codecov / codecov/patch
zetaclient/chains/bitcoin/observer/rpc_status.go#L30-L31
Added lines #L30 - L31 were not covered by tests
Check warning on line 174 in zetaclient/chains/bitcoin/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/bitcoin/rpc/rpc.go#L174
Added line #L174 was not covered by tests
Check warning on line 178 in zetaclient/chains/bitcoin/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/bitcoin/rpc/rpc.go#L176-L178
Added lines #L176 - L178 were not covered by tests
Check warning on line 184 in zetaclient/chains/bitcoin/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/bitcoin/rpc/rpc.go#L182-L184
Added lines #L182 - L184 were not covered by tests
Check warning on line 190 in zetaclient/chains/bitcoin/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/bitcoin/rpc/rpc.go#L188-L190
Added lines #L188 - L190 were not covered by tests
Check warning on line 195 in zetaclient/chains/bitcoin/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/bitcoin/rpc/rpc.go#L194-L195
Added lines #L194 - L195 were not covered by tests
Check warning on line 206 in zetaclient/chains/bitcoin/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/bitcoin/rpc/rpc.go#L199-L206
Added lines #L199 - L206 were not covered by tests
Check warning on line 212 in zetaclient/chains/bitcoin/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/bitcoin/rpc/rpc.go#L210-L212
Added lines #L210 - L212 were not covered by tests
Check warning on line 217 in zetaclient/chains/bitcoin/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/bitcoin/rpc/rpc.go#L216-L217
Added lines #L216 - L217 were not covered by tests
Check warning on line 222 in zetaclient/chains/bitcoin/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/bitcoin/rpc/rpc.go#L220-L222
Added lines #L220 - L222 were not covered by tests
Check warning on line 14 in zetaclient/chains/evm/observer/rpc_status.go
codecov / codecov/patch
zetaclient/chains/evm/observer/rpc_status.go#L13-L14
Added lines #L13 - L14 were not covered by tests
Check warning on line 21 in zetaclient/chains/evm/observer/rpc_status.go
codecov / codecov/patch
zetaclient/chains/evm/observer/rpc_status.go#L16-L21
Added lines #L16 - L21 were not covered by tests
Check warning on line 27 in zetaclient/chains/evm/observer/rpc_status.go
codecov / codecov/patch
zetaclient/chains/evm/observer/rpc_status.go#L24-L27
Added lines #L24 - L27 were not covered by tests
Check warning on line 30 in zetaclient/chains/evm/observer/rpc_status.go
codecov / codecov/patch
zetaclient/chains/evm/observer/rpc_status.go#L29-L30
Added lines #L29 - L30 were not covered by tests
Check warning on line 69 in zetaclient/chains/evm/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/evm/rpc/rpc.go#L69
Added line #L69 was not covered by tests
Check warning on line 73 in zetaclient/chains/evm/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/evm/rpc/rpc.go#L71-L73
Added lines #L71 - L73 were not covered by tests
Check warning on line 79 in zetaclient/chains/evm/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/evm/rpc/rpc.go#L77-L79
Added lines #L77 - L79 were not covered by tests
Check warning on line 85 in zetaclient/chains/evm/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/evm/rpc/rpc.go#L83-L85
Added lines #L83 - L85 were not covered by tests
Check warning on line 90 in zetaclient/chains/evm/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/evm/rpc/rpc.go#L89-L90
Added lines #L89 - L90 were not covered by tests
Check warning on line 102 in zetaclient/chains/evm/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/evm/rpc/rpc.go#L95-L102
Added lines #L95 - L102 were not covered by tests
Check warning on line 107 in zetaclient/chains/evm/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/evm/rpc/rpc.go#L105-L107
Added lines #L105 - L107 were not covered by tests
Check warning on line 137 in zetaclient/chains/solana/observer/observer.go
codecov / codecov/patch
zetaclient/chains/solana/observer/observer.go#L137
Added line #L137 was not covered by tests