fix: avoid endless tx rescan when the inbound vote message is invalid #3184
83.33% of diff hit (target 62.74%)
View this Pull Request on Codecov
83.33% of diff hit (target 62.74%)
Annotations
Check warning on line 169 in zetaclient/chains/bitcoin/observer/event.go
codecov / codecov/patch
zetaclient/chains/bitcoin/observer/event.go#L169
Added line #L169 was not covered by tests
Check warning on line 285 in zetaclient/chains/bitcoin/observer/inbound.go
codecov / codecov/patch
zetaclient/chains/bitcoin/observer/inbound.go#L285
Added line #L285 was not covered by tests
Check warning on line 453 in zetaclient/chains/bitcoin/signer/signer.go
codecov / codecov/patch
zetaclient/chains/bitcoin/signer/signer.go#L453
Added line #L453 was not covered by tests
Check warning on line 102 in zetaclient/chains/evm/observer/v2_inbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/v2_inbound.go#L102
Added line #L102 was not covered by tests
Check warning on line 250 in zetaclient/chains/evm/observer/v2_inbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/v2_inbound.go#L250
Added line #L250 was not covered by tests
Check warning on line 381 in zetaclient/chains/evm/observer/v2_inbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/v2_inbound.go#L381
Added line #L381 was not covered by tests
Check warning on line 39 in zetaclient/chains/evm/observer/v2_inbound_tracker.go
codecov / codecov/patch
zetaclient/chains/evm/observer/v2_inbound_tracker.go#L39
Added line #L39 was not covered by tests
Check warning on line 56 in zetaclient/chains/evm/observer/v2_inbound_tracker.go
codecov / codecov/patch
zetaclient/chains/evm/observer/v2_inbound_tracker.go#L56
Added line #L56 was not covered by tests
Check warning on line 73 in zetaclient/chains/evm/observer/v2_inbound_tracker.go
codecov / codecov/patch
zetaclient/chains/evm/observer/v2_inbound_tracker.go#L73
Added line #L73 was not covered by tests
Check warning on line 313 in zetaclient/chains/solana/observer/inbound.go
codecov / codecov/patch
zetaclient/chains/solana/observer/inbound.go#L311-L313
Added lines #L311 - L313 were not covered by tests
Check warning on line 80 in zetaclient/types/event.go
codecov / codecov/patch
zetaclient/types/event.go#L79-L80
Added lines #L79 - L80 were not covered by tests