nervosnetwork / capsule

Capsule is an out-of-box development framework for creating smart contract on Nervos' CKB.
MIT License
60 stars 34 forks source link

feat: Add utility function to dump tx as MockTransaction format #137

Closed xxuejie closed 9 months ago

xxuejie commented 9 months ago

This enables us to dump a tx right within a test as mock transaction(ReprMockTransaction format to be exact), so we can feed failed tests to ckb-debugger directly

The internal build_resolved_tx method has also been fixed so DepGroup is correctly respected.