fix: adjust evm outbound tracker reporter to avoid submitting invalid hashes #2628
14.65% of diff hit (target 70.55%)
View this Pull Request on Codecov
14.65% of diff hit (target 70.55%)
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 18 in zetaclient/chains/evm/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/evm/rpc/rpc.go#L18
Added line #L18 was not covered by tests
Check warning on line 22 in zetaclient/chains/evm/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/evm/rpc/rpc.go#L20-L22
Added lines #L20 - L22 were not covered by tests
Check warning on line 25 in zetaclient/chains/evm/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/evm/rpc/rpc.go#L24-L25
Added lines #L24 - L25 were not covered by tests
Check warning on line 31 in zetaclient/chains/evm/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/evm/rpc/rpc.go#L29-L31
Added lines #L29 - L31 were not covered by tests
Check warning on line 36 in zetaclient/chains/evm/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/evm/rpc/rpc.go#L35-L36
Added lines #L35 - L36 were not covered by tests
Check warning on line 42 in zetaclient/chains/evm/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/evm/rpc/rpc.go#L40-L42
Added lines #L40 - L42 were not covered by tests
Check warning on line 47 in zetaclient/chains/evm/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/evm/rpc/rpc.go#L46-L47
Added lines #L46 - L47 were not covered by tests
Check warning on line 49 in zetaclient/chains/evm/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/evm/rpc/rpc.go#L49
Added line #L49 was not covered by tests
Check warning on line 51 in zetaclient/chains/evm/rpc/rpc.go
codecov / codecov/patch
zetaclient/chains/evm/rpc/rpc.go#L51
Added line #L51 was not covered by tests
Check warning on line 38 in zetaclient/chains/evm/signer/outbound_tracker_reporter.go
codecov / codecov/patch
zetaclient/chains/evm/signer/outbound_tracker_reporter.go#L36-L38
Added lines #L36 - L38 were not covered by tests
Check warning on line 45 in zetaclient/chains/evm/signer/outbound_tracker_reporter.go
codecov / codecov/patch
zetaclient/chains/evm/signer/outbound_tracker_reporter.go#L44-L45
Added lines #L44 - L45 were not covered by tests
Check warning on line 59 in zetaclient/chains/evm/signer/outbound_tracker_reporter.go
codecov / codecov/patch
zetaclient/chains/evm/signer/outbound_tracker_reporter.go#L57-L59
Added lines #L57 - L59 were not covered by tests
Check warning on line 66 in zetaclient/chains/evm/signer/outbound_tracker_reporter.go
codecov / codecov/patch
zetaclient/chains/evm/signer/outbound_tracker_reporter.go#L63-L66
Added lines #L63 - L66 were not covered by tests