feat: rgb++ ckb transaction queue #75
Annotations
10 errors and 1 warning
test/services/paymaster.test.ts > Paymaster > getNextCellJob: should return the next job when queue has sufficient jobs:
src/services/paymaster.ts#L106
TypeError: Cannot destructure property 'txHash' of 'outPoint' as it is undefined.
❯ Array.toOutPoint node_modules/.pnpm/@[email protected]/node_modules/@ckb-lumos/rpc/src/paramsFormatter.ts:54:13
❯ map node_modules/.pnpm/@[email protected]/node_modules/@ckb-lumos/rpc/src/method.ts:78:44
❯ Method.getPayload node_modules/.pnpm/@[email protected]/node_modules/@ckb-lumos/rpc/src/method.ts:75:25
❯ CKBRPC.getLiveCell node_modules/.pnpm/@[email protected]/node_modules/@ckb-lumos/rpc/src/method.ts:44:26
❯ Paymaster.getNextCell src/services/paymaster.ts:106:49
❯ test/services/paymaster.test.ts:45:17
|
test/services/paymaster.test.ts > Paymaster > getNextCellJob: should trigger refill when queue has fewer jobs than threshold:
src/services/paymaster.ts#L106
TypeError: Cannot destructure property 'txHash' of 'outPoint' as it is undefined.
❯ Array.toOutPoint node_modules/.pnpm/@[email protected]/node_modules/@ckb-lumos/rpc/src/paramsFormatter.ts:54:13
❯ map node_modules/.pnpm/@[email protected]/node_modules/@ckb-lumos/rpc/src/method.ts:78:44
❯ Method.getPayload node_modules/.pnpm/@[email protected]/node_modules/@ckb-lumos/rpc/src/method.ts:75:25
❯ CKBRPC.getLiveCell node_modules/.pnpm/@[email protected]/node_modules/@ckb-lumos/rpc/src/method.ts:44:26
❯ Paymaster.getNextCell src/services/paymaster.ts:106:49
❯ test/services/paymaster.test.ts:58:17
|
test/services/paymaster.test.ts > Paymaster > getNextCellJob: should return a job when queue is empty and refill is successful:
src/services/paymaster.ts#L106
TypeError: Cannot destructure property 'txHash' of 'outPoint' as it is undefined.
❯ Array.toOutPoint node_modules/.pnpm/@[email protected]/node_modules/@ckb-lumos/rpc/src/paramsFormatter.ts:54:13
❯ map node_modules/.pnpm/@[email protected]/node_modules/@ckb-lumos/rpc/src/method.ts:78:44
❯ Method.getPayload node_modules/.pnpm/@[email protected]/node_modules/@ckb-lumos/rpc/src/method.ts:75:25
❯ CKBRPC.getLiveCell node_modules/.pnpm/@[email protected]/node_modules/@ckb-lumos/rpc/src/method.ts:44:26
❯ Paymaster.getNextCell src/services/paymaster.ts:106:49
❯ test/services/paymaster.test.ts:70:17
|
test/services/unlocker.test.ts > Unlocker > getNextBatchLockCell: should skip unconfirmed btc tx:
test/services/unlocker.test.ts#L72
Error: getTransaction does not exist
❯ test/services/unlocker.test.ts:72:8
|
test/services/unlocker.test.ts > Unlocker > getNextBatchLockCell: should return cells when btc tx is confirmed:
test/services/unlocker.test.ts#L83
Error: getTransaction does not exist
❯ test/services/unlocker.test.ts:83:8
|
test/services/unlocker.test.ts > Unlocker > getNextBatchLockCell: should break when cells reach batch size:
test/services/unlocker.test.ts#L96
Error: getTransaction does not exist
❯ test/services/unlocker.test.ts:96:8
|
test/services/unlocker.test.ts > Unlocker > unlockCells: should unlock cells and send ckb tx:
test/services/unlocker.test.ts#L111
Error: Snapshot `Unlocker > unlockCells: should unlock cells and send ckb tx 1` mismatched
- Expected
+ Received
- [Error: Invalid BTC time lock args]
+ [Error: Invalid buffer size, read from header: 0, actual: 36]
❯ test/services/unlocker.test.ts:111:5
|
test/routes/bitcoind/address.test.ts > /bitcoin/v1/address > Get address balance:
test/routes/bitcoind/address.test.ts#L40
AssertionError: expected { …(5) } to strictly equal { …(5) }
- Expected
+ Received
Object {
"address": "tb1qlrg2mhyxrq7ns5rpa6qvrvttr9674n6z0trymp",
"dust_satoshi": 0,
"pending_satoshi": 0,
- "satoshi": 181652,
- "utxo_count": 2,
+ "satoshi": 8006,
+ "utxo_count": 13,
}
❯ test/routes/bitcoind/address.test.ts:40:18
|
test/routes/bitcoind/address.test.ts > /bitcoin/v1/address > Get address balance with min_satoshi param:
test/routes/bitcoind/address.test.ts#L66
AssertionError: expected { …(5) } to strictly equal { …(5) }
- Expected
+ Received
Object {
"address": "tb1qlrg2mhyxrq7ns5rpa6qvrvttr9674n6z0trymp",
- "dust_satoshi": 1000,
+ "dust_satoshi": 8006,
"pending_satoshi": 0,
- "satoshi": 180652,
- "utxo_count": 2,
+ "satoshi": 0,
+ "utxo_count": 13,
}
❯ test/routes/bitcoind/address.test.ts:66:18
|
test/routes/bitcoind/address.test.ts > /bitcoin/v1/address > Get address unspent transaction outputs:
test/routes/bitcoind/address.test.ts#L113
AssertionError: expected [ …(13) ] to deeply equal [ …(2) ]
- Expected
+ Received
Array [
+ "30eaba6e1b2d9097943b57bb761a443bafd7f4532de04e99e05d7a375d92a658",
+ "56f747d86aea990b22b8c665fc0a7b687acf4a7ef3c6da6a5ee7a50f7df028ed",
+ "5fda611d2086c553544a123209f7b26f84226fe4466e8303a7dfe35682294799",
+ "60d7fb85c654ecad879c1c76ecc6563bfb76028cd884fd7ea9f8802238ccb3ed",
+ "674705f80f5f515ea0f9a16ac7945eb9a5f0b2c5cb82aadb79839d1485d8d9c8",
+ "6d9695fd081e86e1f18c8d83f18728862e5fdfa7cb4982ba602c856e5c0f5810",
"85fdce5f5d7fd3ff73ce70e3e0a786f50cc1124830cc07341738d76fa7c3a6a9",
- "9706131c1e327a068a6aafc16dc69a46c50bc7c65f180513896bdad39a6babfc",
+ "92b2f4cab2138432e6e07aa6cfe070673806f46d6e4348bf5a5f75bbfdebfb46",
+ "9ffeb3ad3267b0227a86d2df957e1edadfb0e5814447e9efa58692b02bd8d47a",
+ "a8ee907f2e867f2f2a99dce4ea193ef4aab7256b1a6c2235d921cf0bb4534095",
+ "bbb51bf1ac43fcb033ae64a3aeb4c0fb4af9f743ecf9173ec55fb2f9f499a31f",
+ "e1bdd3bebb8c7f1f285a21e3e1dabcd864b730ef243d0b63151a2a07b4dc833e",
+ "feaf015bec21bb619880e6f24356467ecee6b42bc74d261537f87d895cf6809e",
]
❯ test/routes/bitcoind/address.test.ts:113:19
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|