Skip to content

refactor: simplify wallet ord logic #904

refactor: simplify wallet ord logic

refactor: simplify wallet ord logic #904

You are viewing an older attempt in the history of this workflow run. View latest attempt.
Triggered via pull request January 13, 2025 17:48
Status Failure
Total duration 2m 2s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 5 warnings
test/utxo.test.ts > UTXO Tests > should spend from address to create a transaction with an OP return output: sdk/src/esplora.ts#L490
TypeError: fetch failed ❯ EsploraClient.getJson src/esplora.ts:490:26 ❯ isCardinalTx src/wallet/utxo.ts:31:25 ❯ isCardinalTx src/wallet/utxo.ts:32:21 { stack: 'AggregateError: \n' + ' at internalConnectMultiple (node:net:1122:18)\n' + ' at internalConnectMultiple (node:net:1190:5)\n' + ' at Timeout.internalConnectMultipleTimeout (node:net:1716:5)\n' + ' at listOnTimeout (node:internal/timers:583:11)\n' + ' at processTimers (node:internal/timers:519:7)', errors: [ { stack: 'Error: connect ETIMEDOUT 104.26.7.58:443\n' + ' at createConnectionError (node:net:1652:14)\n' + ' at Timeout.internalConnectMultipleTimeout (node:net:1711:38)\n' + ' at listOnTimeout (node:internal/timers:583:11)\n' + ' at processTimers (node:internal/timers:519:7)', message: 'connect ETIMEDOUT 104.26.7.58:443', errno: -110, code: 'ETIMEDOUT', syscall: 'connect', address: '104.26.7.58', port: 443, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ENETUNREACH 2606:4700:20::681a:73a:443 - Local (:::0)\n' + ' at internalConnectMultiple (node:net:1186:16)\n' + ' at Timeout.internalConnectMultipleTimeout (node:net:1716:5)\n' + ' at listOnTimeout (node:internal/timers:583:11)\n' + ' at processTimers (node:internal/timers:519:7)', message: 'connect ENETUNREACH 2606:4700:20::681a:73a:443 - Local (:::0)', errno: -101, code: 'ENETUNREACH', syscall: 'connect', address: '2606:4700:20::681a:73a', port: 443, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ETIMEDOUT 172.67.69.91:443\n' + ' at createConnectionError (node:net:1652:14)\n' + ' at Timeout.internalConnectMultipleTimeout (node:net:1711:38)\n' + ' at listOnTimeout (node:internal/timers:583:11)\n' + ' at processTimers (node:internal/timers:519:7)', message: 'connect ETIMEDOUT 172.67.69.91:443', errno: -110, code: 'ETIMEDOUT', syscall: 'connect', address: '172.67.69.91', port: 443, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ENETUNREACH 2606:4700:20::681a:63a:443 - Local (:::0)\n' + ' at internalConnectMultiple (node:net:1186:16)\n' + ' at Timeout.internalConnectMultipleTimeout (node:net:1716:5)\n' + ' at listOnTimeout (node:internal/timers:583:11)\n' + ' at processTimers (node:internal/timers:519:7)', message: 'connect ENETUNREACH 2606:4700:20::681a:63a:443 - Local (:::0)', errno: -101, code: 'ENETUNREACH', syscall: 'connect', address: '2606:4700:20::681a:63a', port: 443, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ETIMEDOUT 104.26.6.58:443\n' + ' at createConnectionError (node:net:1652:14)\n' + ' at Timeout.internalConnectMultipleTimeout (node:net:1711:38)\n' + ' at listOnTimeout (node:internal/timers:583:11)\n' + ' at processTimers (node:internal/timers:519:7)', message: 'connect ETIMEDOUT 104.26.6.58:443', errno: -110, code: 'ETIMEDOUT', syscall: 'connect', address: '104.26.6.58', port: 443, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ENETUNREACH 2606:4700:20::ac43:455b:443 - Local (:::0)\n' + ' at internalConnectMultiple (node:net:1186:16)\n' + ' at Timeout.internalConnectMultipleTimeout (node:net:1716:5)\n' + ' at listOnTimeout (node:internal/timers:583:11)\n' + ' at processTimers (node:internal/timers:519:7)', message: 'connect ENETUNREACH 2606:4700:20::ac43
test/utxo.test.ts > UTXO Tests > should estimate the fee for a transaction: sdk/src/ordinal-api/index.ts#L564
TypeError: fetch failed ❯ OrdinalsClient.getJson src/ordinal-api/index.ts:564:26 ❯ src/wallet/utxo.ts:36:28 ❯ isCardinalTx src/wallet/utxo.ts:32:21 ❯ isCardinalTx src/wallet/utxo.ts:32:21 ❯ isCardinalTx src/wallet/utxo.ts:32:21 Caused by: Caused by: SocketError: other side closed ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'UND_ERR_SOCKET', socket: { localAddress: '10.1.0.6', localPort: 53564, remoteAddress: undefined, remotePort: undefined, remoteFamily: undefined, timeout: undefined, bytesWritten: 542, bytesRead: 1393 } }
test/utxo.test.ts > UTXO Tests > should not spend outputs with inscriptions: sdk/src/wallet/utxo.ts#L230
Error: Failed to create transaction. Do you have enough funds? ❯ Module.createBitcoinPsbt src/wallet/utxo.ts:230:15 ❯ test/utxo.test.ts:374:9
SDK
Process completed with exit code 1.
Contracts
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
SDK
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
SDK: sdk/src/ordinals/signer.ts#L11
'_hash' is defined but never used
SDK: sdk/src/ordinals/signer.ts#L11
'_lowR' is defined but never used
SDK: sdk/src/ordinals/signer.ts#L15
'hash' is defined but never used