fix: avoid endless tx rescan when the inbound vote message is invalid #3184
70.79% of diff hit (target 62.38%)
View this Pull Request on Codecov
70.79% of diff hit (target 62.38%)
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 365 in zetaclient/chains/bitcoin/signer/signer.go
codecov / codecov/patch
zetaclient/chains/bitcoin/signer/signer.go#L359-L365
Added lines #L359 - L365 were not covered by tests
Check warning on line 388 in zetaclient/chains/bitcoin/signer/signer.go
codecov / codecov/patch
zetaclient/chains/bitcoin/signer/signer.go#L388
Added line #L388 was not covered by tests
Check warning on line 452 in zetaclient/chains/bitcoin/signer/signer.go
codecov / codecov/patch
zetaclient/chains/bitcoin/signer/signer.go#L452
Added line #L452 was not covered by tests
Check warning on line 455 in zetaclient/chains/bitcoin/signer/signer.go
codecov / codecov/patch
zetaclient/chains/bitcoin/signer/signer.go#L455
Added line #L455 was not covered by tests
Check warning on line 462 in zetaclient/chains/bitcoin/signer/signer.go
codecov / codecov/patch
zetaclient/chains/bitcoin/signer/signer.go#L461-L462
Added lines #L461 - L462 were not covered by tests
Check warning on line 466 in zetaclient/chains/bitcoin/signer/signer.go
codecov / codecov/patch
zetaclient/chains/bitcoin/signer/signer.go#L466
Added line #L466 was not covered by tests
Check warning on line 474 in zetaclient/chains/bitcoin/signer/signer.go
codecov / codecov/patch
zetaclient/chains/bitcoin/signer/signer.go#L474
Added line #L474 was not covered by tests
Check warning on line 478 in zetaclient/chains/bitcoin/signer/signer.go
codecov / codecov/patch
zetaclient/chains/bitcoin/signer/signer.go#L478
Added line #L478 was not covered by tests
Check warning on line 486 in zetaclient/chains/bitcoin/signer/signer.go
codecov / codecov/patch
zetaclient/chains/bitcoin/signer/signer.go#L486
Added line #L486 was not covered by tests
Check warning on line 489 in zetaclient/chains/bitcoin/signer/signer.go
codecov / codecov/patch
zetaclient/chains/bitcoin/signer/signer.go#L488-L489
Added lines #L488 - L489 were 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 322 in zetaclient/chains/solana/observer/inbound.go
codecov / codecov/patch
zetaclient/chains/solana/observer/inbound.go#L320-L322
Added lines #L320 - L322 were not covered by tests
Check warning on line 83 in zetaclient/types/event.go
codecov / codecov/patch
zetaclient/types/event.go#L82-L83
Added lines #L82 - L83 were not covered by tests