nervosnetwork / ckb-integration-test

0 stars 6 forks source link

fix: txpool responded but script execution not finished #89

Closed keroro520 closed 2 years ago

keroro520 commented 2 years ago

The CKB-VM executes large-cycle transaction scripts asynchronously using pause-resume approach. While the current implementation has a bug: when sending a transaction embed with large-cycle scripts via RPC send_transaction and getting a successful response, the scripts may not finish executing. That means that after a successful send_transaction request, a following corresponding get_transaction request may get None.