You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we should try to make it easier to debug/profile transactions from ckb-testtool, e.g. we can add a function to dump a transaction in the format expected by ckb-debugger.
After second thoughts, I think we should focus on implementing a CKB RPC-compatible simulator chain instead of providing more testing helper functions.
Compared to the CKB dev chain, we should have the advantage in the following aspects:
Easily mock cells and blocks to simulate different scenarios.
Record failed transactions and provide a way to replay them.
Output diagnosis for failed transactions.
Support different submit modes.
Other Dapp developers can connect to the simulator chain to debug their Apps without any modification.
Chain simulator
Helper functions
Signer abstraction(single lock, multi-sig lock, rc lock).Automatically complete the transaction inputs with a sender address.Debugger
The text was updated successfully, but these errors were encountered: