refactor: use ChainInfo
in authority
to allow support chains dynamically
#2380
78.84% of diff hit (target 69.21%)
View this Pull Request on Codecov
78.84% of diff hit (target 69.21%)
Annotations
Check warning on line 349 in pkg/chains/chains.go
codecov / codecov/patch
pkg/chains/chains.go#L347-L349
Added lines #L347 - L349 were not covered by tests
Check warning on line 74 in pkg/crypto/pubkey.go
codecov / codecov/patch
pkg/crypto/pubkey.go#L74
Added line #L74 was not covered by tests
Check warning on line 304 in x/crosschain/keeper/evm_hooks.go
codecov / codecov/patch
x/crosschain/keeper/evm_hooks.go#L304
Added line #L304 was not covered by tests
Check warning on line 60 in x/lightclient/keeper/grpc_query_prove.go
codecov / codecov/patch
x/lightclient/keeper/grpc_query_prove.go#L60
Added line #L60 was not covered by tests
Check warning on line 80 in x/observer/keeper/chain_params.go
codecov / codecov/patch
x/observer/keeper/chain_params.go#L80
Added line #L80 was not covered by tests
Check warning on line 83 in x/observer/keeper/chain_params.go
codecov / codecov/patch
x/observer/keeper/chain_params.go#L83
Added line #L83 was not covered by tests
Check warning on line 71 in x/observer/types/chain_params.go
codecov / codecov/patch
x/observer/types/chain_params.go#L71
Added line #L71 was not covered by tests
Check warning on line 673 in zetaclient/chains/evm/observer/inbound.go
codecov / codecov/patch
zetaclient/chains/evm/observer/inbound.go#L673
Added line #L673 was not covered by tests
Check warning on line 96 in zetaclient/chains/evm/signer/outbound_data.go
codecov / codecov/patch
zetaclient/chains/evm/signer/outbound_data.go#L96
Added line #L96 was not covered by tests
Check warning on line 381 in zetaclient/chains/evm/signer/signer.go
codecov / codecov/patch
zetaclient/chains/evm/signer/signer.go#L380-L381
Added lines #L380 - L381 were not covered by tests
Check warning on line 434 in zetaclient/chains/evm/signer/signer.go
codecov / codecov/patch
zetaclient/chains/evm/signer/signer.go#L434
Added line #L434 was not covered by tests
Check warning on line 443 in zetaclient/chains/evm/signer/signer.go
codecov / codecov/patch
zetaclient/chains/evm/signer/signer.go#L443
Added line #L443 was not covered by tests
Check warning on line 452 in zetaclient/chains/evm/signer/signer.go
codecov / codecov/patch
zetaclient/chains/evm/signer/signer.go#L452
Added line #L452 was not covered by tests
Check warning on line 468 in zetaclient/chains/evm/signer/signer.go
codecov / codecov/patch
zetaclient/chains/evm/signer/signer.go#L468
Added line #L468 was not covered by tests
Check warning on line 478 in zetaclient/chains/evm/signer/signer.go
codecov / codecov/patch
zetaclient/chains/evm/signer/signer.go#L478
Added line #L478 was not covered by tests
Check warning on line 486 in zetaclient/chains/evm/signer/signer.go
codecov / codecov/patch
zetaclient/chains/evm/signer/signer.go#L486
Added line #L486 was not covered by tests
Check warning on line 500 in zetaclient/chains/evm/signer/signer.go
codecov / codecov/patch
zetaclient/chains/evm/signer/signer.go#L500
Added line #L500 was not covered by tests
Check warning on line 554 in zetaclient/chains/evm/signer/signer.go
codecov / codecov/patch
zetaclient/chains/evm/signer/signer.go#L553-L554
Added lines #L553 - L554 were not covered by tests
Check warning on line 559 in zetaclient/chains/evm/signer/signer.go
codecov / codecov/patch
zetaclient/chains/evm/signer/signer.go#L559
Added line #L559 was not covered by tests
Check warning on line 582 in zetaclient/chains/evm/signer/signer.go
codecov / codecov/patch
zetaclient/chains/evm/signer/signer.go#L571-L582
Added lines #L571 - L582 were not covered by tests
Check warning on line 585 in zetaclient/chains/evm/signer/signer.go
codecov / codecov/patch
zetaclient/chains/evm/signer/signer.go#L584-L585
Added lines #L584 - L585 were not covered by tests
Check warning on line 588 in zetaclient/chains/evm/signer/signer.go
codecov / codecov/patch
zetaclient/chains/evm/signer/signer.go#L587-L588
Added lines #L587 - L588 were not covered by tests
Check warning on line 322 in zetaclient/orchestrator/orchestrator.go
codecov / codecov/patch
zetaclient/orchestrator/orchestrator.go#L322
Added line #L322 was not covered by tests
Check warning on line 324 in zetaclient/orchestrator/orchestrator.go
codecov / codecov/patch
zetaclient/orchestrator/orchestrator.go#L324
Added line #L324 was not covered by tests
Check warning on line 73 in zetaclient/supplychecker/zeta_supply_checker.go
codecov / codecov/patch
zetaclient/supplychecker/zeta_supply_checker.go#L71-L73
Added lines #L71 - L73 were not covered by tests