refactor(crosschain
): move ballot voting logic into observer
#1511
56.55% of diff hit (target 38.03%)
View this Pull Request on Codecov
56.55% of diff hit (target 38.03%)
Annotations
Check warning on line 78 in common/chain.go
codecov / codecov/patch
common/chain.go#L78
Added line #L78 was not covered by tests
Check warning on line 83 in common/chain.go
codecov / codecov/patch
common/chain.go#L82-L83
Added lines #L82 - L83 were not covered by tests
Check warning on line 85 in common/chain.go
codecov / codecov/patch
common/chain.go#L85
Added line #L85 was not covered by tests
Check warning on line 88 in common/chain.go
codecov / codecov/patch
common/chain.go#L88
Added line #L88 was not covered by tests
Check warning on line 179 in x/crosschain/keeper/evm_hooks.go
codecov / codecov/patch
x/crosschain/keeper/evm_hooks.go#L171-L179
Added lines #L171 - L179 were not covered by tests
Check warning on line 219 in x/crosschain/keeper/evm_hooks.go
codecov / codecov/patch
x/crosschain/keeper/evm_hooks.go#L219
Added line #L219 was not covered by tests
Check warning on line 258 in x/crosschain/keeper/evm_hooks.go
codecov / codecov/patch
x/crosschain/keeper/evm_hooks.go#L250-L258
Added lines #L250 - L258 were not covered by tests
Check warning on line 98 in x/crosschain/keeper/msg_server_vote_inbound_tx.go
codecov / codecov/patch
x/crosschain/keeper/msg_server_vote_inbound_tx.go#L98
Added line #L98 was not covered by tests
Check warning on line 189 in x/crosschain/keeper/msg_server_vote_inbound_tx.go
codecov / codecov/patch
x/crosschain/keeper/msg_server_vote_inbound_tx.go#L189
Added line #L189 was not covered by tests
Check warning on line 193 in x/crosschain/keeper/msg_server_vote_inbound_tx.go
codecov / codecov/patch
x/crosschain/keeper/msg_server_vote_inbound_tx.go#L193
Added line #L193 was not covered by tests
Check warning on line 201 in x/crosschain/keeper/msg_server_vote_inbound_tx.go
codecov / codecov/patch
x/crosschain/keeper/msg_server_vote_inbound_tx.go#L201
Added line #L201 was not covered by tests
Check warning on line 83 in x/crosschain/keeper/msg_server_vote_outbound_tx.go
codecov / codecov/patch
x/crosschain/keeper/msg_server_vote_outbound_tx.go#L78-L83
Added lines #L78 - L83 were not covered by tests
Check warning on line 90 in x/crosschain/keeper/msg_server_vote_outbound_tx.go
codecov / codecov/patch
x/crosschain/keeper/msg_server_vote_outbound_tx.go#L90
Added line #L90 was not covered by tests
Check warning on line 97 in x/crosschain/keeper/msg_server_vote_outbound_tx.go
codecov / codecov/patch
x/crosschain/keeper/msg_server_vote_outbound_tx.go#L97
Added line #L97 was not covered by tests
Check warning on line 102 in x/crosschain/keeper/msg_server_vote_outbound_tx.go
codecov / codecov/patch
x/crosschain/keeper/msg_server_vote_outbound_tx.go#L102
Added line #L102 was not covered by tests
Check warning on line 135 in x/crosschain/keeper/msg_server_vote_outbound_tx.go
codecov / codecov/patch
x/crosschain/keeper/msg_server_vote_outbound_tx.go#L135
Added line #L135 was not covered by tests
Check warning on line 144 in x/crosschain/keeper/msg_server_vote_outbound_tx.go
codecov / codecov/patch
x/crosschain/keeper/msg_server_vote_outbound_tx.go#L144
Added line #L144 was not covered by tests
Check warning on line 59 in x/observer/keeper/vote_inbound.go
codecov / codecov/patch
x/observer/keeper/vote_inbound.go#L59
Added line #L59 was not covered by tests
Check warning on line 69 in x/observer/keeper/vote_inbound.go
codecov / codecov/patch
x/observer/keeper/vote_inbound.go#L69
Added line #L69 was not covered by tests
Check warning on line 78 in x/observer/keeper/vote_inbound.go
codecov / codecov/patch
x/observer/keeper/vote_inbound.go#L78
Added line #L78 was not covered by tests
Check warning on line 41 in x/observer/keeper/vote_outbound.go
codecov / codecov/patch
x/observer/keeper/vote_outbound.go#L41
Added line #L41 was not covered by tests
Check warning on line 47 in x/observer/keeper/vote_outbound.go
codecov / codecov/patch
x/observer/keeper/vote_outbound.go#L47
Added line #L47 was not covered by tests
Check warning on line 21 in x/observer/types/observer_set.go
codecov / codecov/patch
x/observer/types/observer_set.go#L19-L21
Added lines #L19 - L21 were not covered by tests
Check warning on line 34 in x/observer/types/observer_set.go
codecov / codecov/patch
x/observer/types/observer_set.go#L27-L34
Added lines #L27 - L34 were not covered by tests