utxostack / rgbpp-sdk

Utilities for Bitcoin and RGB++ asset integration
ISC License
53 stars 18 forks source link

SourceMaps are broken #271

Open ShookLyngs opened 3 months ago

ShookLyngs commented 3 months ago

Here's an example where I triggered an error intentionally:

Error: The cell with the specific out point is dead
    at Module.checkCkbTxInputsCapacitySufficient (/Users/root/Development/projects/rgbpp-sdk/packages/ckb/src/schemas/generated/blockchain.ts:992:13)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at /Users/root/Development/projects/rgbpp-sdk/packages/btc/src/preset/types.ts:1374:32
    at getMergedBtcOutputs (/Users/root/Development/projects/rgbpp-sdk/packages/btc/src/preset/types.ts:1370:33)
    at Module.createSendRgbppUtxosBuilder (/Users/root/Development/projects/rgbpp-sdk/packages/btc/src/preset/types.ts:1338:28)
    at Module.buildRgbppTransferAllTxs (/Users/root/Development/projects/rgbpp-sdk/packages/rgbpp/src/rgbpp/xudt/btc-transfer-all.ts:163:39)
    at /Users/root/Development/projects/rgbpp-sdk/packages/rgbpp/tests/RgbppXudt.test.ts:83:22

For clarification, the getMergedBtcOutputs method is not located in the btc/src/preset/types.ts file:

at getMergedBtcOutputs (/Users/root/Development/projects/rgbpp-sdk/packages/btc/src/preset/types.ts:1370:33)

The checkCkbTxInputsCapacitySufficient method is not located in the ckb/src/schemas/generated/blockchain.ts file:

at Module.checkCkbTxInputsCapacitySufficient (/Users/root/Development/projects/rgbpp-sdk/packages/ckb/src/schemas/generated/blockchain.ts:992:13)