Better get balance #911
Annotations
4 errors and 6 warnings
test/utxo.test.ts > UTXO Tests > should not spend outputs with inscriptions:
sdk/test/utxo.test.ts#L390
AssertionError: expected [ { …(9) }, { …(9) }, { …(9) }, …(11) ] to deeply equal []
- Expected
+ Received
- Array []
+ Array [
+ Object {
+ "address": "bc1pnu9gqu78szpmmmnw8kdcz6j2nsmcunrewwhx4kemtd7ffgt3523q2eenay",
+ "index": 1,
+ "nonWitnessUtxo": Object {
+ "data": Array [
+ 2,
+ 0,
+ 0,
+ 0,
+ 0,
+ 1,
+ 4,
+ 29,
+ 120,
+ 54,
+ 34,
+ 7,
+ 18,
+ 77,
+ 53,
+ 194,
+ 158,
+ 206,
+ 216,
+ 106,
+ 100,
+ 15,
+ 167,
+ 148,
+ 50,
+ 232,
+ 8,
+ 240,
+ 204,
+ 153,
+ 62,
+ 46,
+ 57,
+ 203,
+ 210,
+ 168,
+ 234,
+ 112,
+ 8,
+ 5,
+ 0,
+ 0,
+ 0,
+ 0,
+ 255,
+ 255,
+ 255,
+ 255,
+ 87,
+ 14,
+ 31,
+ 203,
+ 72,
+ 69,
+ 186,
+ 39,
+ 138,
+ 173,
+ 194,
+ 196,
+ 198,
+ 240,
+ 194,
+ 109,
+ 110,
+ 65,
+ 85,
+ 221,
+ 122,
+ 92,
+ 218,
+ 169,
+ 76,
+ 19,
+ 211,
+ 50,
+ 87,
+ 122,
+ 97,
+ 102,
+ 4,
+ 0,
+ 0,
+ 0,
+ 0,
+ 255,
+ 255,
+ 255,
+ 255,
+ 100,
+ 35,
+ 145,
+ 83,
+ 132,
+ 121,
+ 230,
+ 215,
+ 28,
+ 196,
+ 53,
+ 163,
+ 196,
+ 31,
+ 106,
+ 56,
+ 5,
+ 139,
+ 247,
+ 199,
+ 209,
+ 17,
+ 203,
+ 173,
+ 81,
+ 141,
+ 101,
+ 71,
+ 156,
+ 1,
+ 253,
+ 44,
+ 1,
+ 0,
+ 0,
+ 0,
+ 0,
+ 255,
+ 255,
+ 255,
+ 255,
+ 73,
+ 148,
+ 137,
+ 13,
+ 128,
+ 232,
+ 36,
+ 161,
+ 211,
+ 106,
+ 132,
+ 231,
+ 36,
+ 126,
+ 135,
+ 23,
+ 85,
+ 82,
+ 216,
+ 2,
+ 10,
+ 238,
+ 168,
+ 51,
+ 87,
+ 182,
+ 68,
+ 254,
+ 52,
+ 145,
+ 159,
+ 32,
+ 6,
+ 0,
+ 0,
+ 0,
+ 0,
+ 255,
+ 255,
+ 255,
+ 255,
+ 7,
+ 176,
+ 4,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 34,
+ 81,
+ 32,
+ 200,
+ 7,
+ 78,
+ 210,
+ 201,
+ 226,
+ 89,
+ 15,
+ 235,
+ 85,
+ 173,
+ 101,
+ 178,
+ 144,
+ 224,
+ 3,
+ 224,
+ 127,
+ 6,
+ 239,
+ 19,
+ 43,
+ 244,
+ 219,
+ 16,
+ 245,
+ 234,
+ 252,
+ 185,
+ 234,
+ 227,
+ 32,
+ 34,
+ 2,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 34,
+ 81,
+ 32,
+ 200,
+ 7,
+ 78,
+ 210,
+ 201,
+ 226,
+ 89,
+ 15,
+ 235,
+ 85,
+ 173,
+ 101,
+ 178,
+ 144,
+ 224,
+ 3,
+ 224,
+ 127,
+ 6,
+ 239,
+ 19,
+ 43,
+ 244,
+ 219,
+ 16,
+ 245,
+ 234,
+ 252,
+ 185,
+ 234,
+ 227,
+ 32,
+ 221,
+ 103,
+ 5,
+ 0,
+ 0,
+ 0,
+ 0,
+
|
test/utxo.test.ts > UTXO Tests > outputs could not be spent if not confirmed by ord service and indexed:
sdk/test/utxo.test.ts#L466
AssertionError: expected 323967 to be less than 323967
❯ test/utxo.test.ts:466:35
|
test/utxo.test.ts > UTXO Tests > processes utxo correctly:
sdk/test/utxo.test.ts#L663
AssertionError: expected [ { confirmed: true, …(3) }, …(3) ] to deeply equal [ { confirmed: true, …(3) }, …(1) ]
- Expected
+ Received
Array [
Object {
"confirmed": true,
"txid": "4871cc57fb9dd5359c4d0ef5352b83a21bb7d25729fce56ea8e3aa3c8ff14049",
"value": 1,
"vout": 1,
},
Object {
"confirmed": false,
"txid": "c63275cb82afe248315dcc9534043c16b43471cefd76fdb1c7ae53d71168a3af",
"value": 1,
"vout": 1,
},
+ Object {
+ "confirmed": true,
+ "txid": "200bead2c2484d69fabffbda3ec55af7f3d809200b53c4d06ac443925df004ef",
+ "value": 1,
+ "vout": 1,
+ },
+ Object {
+ "confirmed": true,
+ "txid": "b4e912281e8c7b8588adcf1cd0ea8b0bb5f492ea3f008f3ec351f99bdd5f833d",
+ "value": 1,
+ "vout": 1,
+ },
]
❯ test/utxo.test.ts:663:30
|
SDK
Process completed with exit code 1.
|
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
|
SDK:
sdk/src/wallet/utxo.ts#L6
'parseInscriptions' is defined but never used
|
Contracts
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|