Closed lukasz-zimnoch closed 4 months ago
There's an error in the CI:
/home/runner/work/token-dashboard/token-dashboard/src/tbtc/mock-bitcoin-client.ts
TypeScript error in /home/runner/work/token-dashboard/token-dashboard/src/tbtc/mock-bitcoin-client.ts(47,14):
Class 'MockBitcoinClient' incorrectly implements interface 'BitcoinClient'.
Property 'getCoinbaseTxHash' is missing in type 'MockBitcoinClient' but required in type 'BitcoinClient'. TS2420
45 | const bitcoinNetworkTransactionFee = BigNumber.from(1520)
46 |
> 47 | export class MockBitcoinClient implements BitcoinClient {
| ^
48 | private _unspentTransactionOutputs = new Map<string, BitcoinUtxo[]>()
49 | private _rawTransactions = new Map<string, BitcoinRawTx>()
50 | private _transactions = new Map<string, BitcoinTx>()
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.
Preview uploaded to https://preview.dashboard.test.threshold.network/bump-tbtc-sdk/index.html.
Here we upgrade tBTC SDK to version v2.4.1. The main goal is getting latest bugfixes.