fix: adjust evm outbound tracker reporter to avoid submitting invalid hashes #2628
22.75% of diff hit (target 70.35%)
View this Pull Request on Codecov
22.75% of diff hit (target 70.35%)
Annotations
Check warning on line 38 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L36-L38
Added lines #L36 - L38 were not covered by tests
Check warning on line 42 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L42
Added line #L42 was not covered by tests
Check warning on line 65 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L65
Added line #L65 was not covered by tests
Check warning on line 70 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L67-L70
Added lines #L67 - L70 were not covered by tests
Check warning on line 86 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L82-L86
Added lines #L82 - L86 were not covered by tests
Check warning on line 93 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L90-L93
Added lines #L90 - L93 were not covered by tests
Check warning on line 96 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L96
Added line #L96 was not covered by tests
Check warning on line 100 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L98-L100
Added lines #L98 - L100 were not covered by tests
Check warning on line 115 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L104-L115
Added lines #L104 - L115 were not covered by tests
Check warning on line 123 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L121-L123
Added lines #L121 - L123 were not covered by tests
Check warning on line 128 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L125-L128
Added lines #L125 - L128 were not covered by tests
Check warning on line 133 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L133
Added line #L133 was not covered by tests
Check warning on line 422 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L417-L422
Added lines #L417 - L422 were not covered by tests
Check warning on line 427 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L427
Added line #L427 was not covered by tests
Check warning on line 432 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L431-L432
Added lines #L431 - L432 were not covered by tests
Check warning on line 434 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L434
Added line #L434 was not covered by tests
Check warning on line 436 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L436
Added line #L436 was not covered by tests
Check warning on line 444 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L444
Added line #L444 was not covered by tests
Check warning on line 455 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L454-L455
Added lines #L454 - L455 were not covered by tests
Check warning on line 464 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L464
Added line #L464 was not covered by tests
Check warning on line 469 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L468-L469
Added lines #L468 - L469 were not covered by tests
Check warning on line 476 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L476
Added line #L476 was not covered by tests
Check warning on line 480 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L480
Added line #L480 was not covered by tests
Check warning on line 487 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L487
Added line #L487 was not covered by tests
Check warning on line 492 in zetaclient/chains/evm/observer/outbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/outbound.go#L491-L492
Added lines #L491 - L492 were not covered by tests