feat: support Bitcoin P2TR, P2WSH, P2SH, P2PKH address types #1982
80.58% of diff hit (target 62.96%)
View this Pull Request on Codecov
80.58% of diff hit (target 62.96%)
Annotations
Check warning on line 68 in pkg/chains/address.go
codecov / codecov/patch
pkg/chains/address.go#L68
Added line #L68 was not covered by tests
Check warning on line 105 in pkg/chains/address.go
codecov / codecov/patch
pkg/chains/address.go#L105
Added line #L105 was not covered by tests
Check warning on line 44 in pkg/chains/address_taproot.go
codecov / codecov/patch
pkg/chains/address_taproot.go#L43-L44
Added lines #L43 - L44 were not covered by tests
Check warning on line 67 in pkg/chains/address_taproot.go
codecov / codecov/patch
pkg/chains/address_taproot.go#L67
Added line #L67 was not covered by tests
Check warning on line 79 in pkg/chains/address_taproot.go
codecov / codecov/patch
pkg/chains/address_taproot.go#L79
Added line #L79 was not covered by tests
Check warning on line 91 in pkg/chains/address_taproot.go
codecov / codecov/patch
pkg/chains/address_taproot.go#L90-L91
Added lines #L90 - L91 were not covered by tests
Check warning on line 98 in pkg/chains/address_taproot.go
codecov / codecov/patch
pkg/chains/address_taproot.go#L96-L98
Added lines #L96 - L98 were not covered by tests
Check warning on line 101 in pkg/chains/address_taproot.go
codecov / codecov/patch
pkg/chains/address_taproot.go#L101
Added line #L101 was not covered by tests
Check warning on line 107 in pkg/chains/address_taproot.go
codecov / codecov/patch
pkg/chains/address_taproot.go#L107
Added line #L107 was not covered by tests
Check warning on line 111 in pkg/chains/address_taproot.go
codecov / codecov/patch
pkg/chains/address_taproot.go#L111
Added line #L111 was not covered by tests
Check warning on line 129 in pkg/chains/address_taproot.go
codecov / codecov/patch
pkg/chains/address_taproot.go#L129
Added line #L129 was not covered by tests
Check warning on line 135 in pkg/chains/address_taproot.go
codecov / codecov/patch
pkg/chains/address_taproot.go#L135
Added line #L135 was not covered by tests
Check warning on line 143 in pkg/chains/address_taproot.go
codecov / codecov/patch
pkg/chains/address_taproot.go#L143
Added line #L143 was not covered by tests
Check warning on line 148 in pkg/chains/address_taproot.go
codecov / codecov/patch
pkg/chains/address_taproot.go#L148
Added line #L148 was not covered by tests
Check warning on line 154 in pkg/chains/address_taproot.go
codecov / codecov/patch
pkg/chains/address_taproot.go#L153-L154
Added lines #L153 - L154 were not covered by tests
Check warning on line 160 in pkg/chains/address_taproot.go
codecov / codecov/patch
pkg/chains/address_taproot.go#L159-L160
Added lines #L159 - L160 were not covered by tests
Check warning on line 166 in pkg/chains/address_taproot.go
codecov / codecov/patch
pkg/chains/address_taproot.go#L165-L166
Added lines #L165 - L166 were not covered by tests
Check warning on line 217 in pkg/chains/address_taproot.go
codecov / codecov/patch
pkg/chains/address_taproot.go#L216-L217
Added lines #L216 - L217 were not covered by tests
Check warning on line 61 in x/crosschain/types/validate.go
codecov / codecov/patch
x/crosschain/types/validate.go#L61
Added line #L61 was not covered by tests
Check warning on line 456 in zetaclient/bitcoin/bitcoin_client.go
codecov / codecov/patch
zetaclient/bitcoin/bitcoin_client.go#L455-L456
Added lines #L455 - L456 were not covered by tests
Check warning on line 460 in zetaclient/bitcoin/bitcoin_client.go
codecov / codecov/patch
zetaclient/bitcoin/bitcoin_client.go#L460
Added line #L460 was not covered by tests
Check warning on line 466 in zetaclient/bitcoin/bitcoin_client.go
codecov / codecov/patch
zetaclient/bitcoin/bitcoin_client.go#L464-L466
Added lines #L464 - L466 were not covered by tests
Check warning on line 674 in zetaclient/bitcoin/bitcoin_client.go
codecov / codecov/patch
zetaclient/bitcoin/bitcoin_client.go#L674
Added line #L674 was not covered by tests
Check warning on line 680 in zetaclient/bitcoin/bitcoin_client.go
codecov / codecov/patch
zetaclient/bitcoin/bitcoin_client.go#L680
Added line #L680 was not covered by tests
Check warning on line 683 in zetaclient/bitcoin/bitcoin_client.go
codecov / codecov/patch
zetaclient/bitcoin/bitcoin_client.go#L683
Added line #L683 was not covered by tests