weavedb / rdk

WeaveDB Rollup Development Kit
3 stars 3 forks source link

transactions not evaluated on weavedb-sdk-node with nocache set to false #25

Closed drumfeet closed 6 months ago

drumfeet commented 7 months ago

I submitted a PR for the test case https://github.com/weavedb/rdk/pull/24 The issue only occurs on weavedb-sdk-node Transactions are only committing to Warp if nocache is set to true during sdk instantiation. I also noticed that transactions are being committed to Warp if I make getResult query after adding new document or call setTimeout at least more than 5 seconds.

drumfeet commented 6 months ago

I wonder if this is because the process on the terminal has exited before the transaction is submitted to Warp

drumfeet commented 6 months ago

Closing this as it turns out to not be an issue. It's important to ensure that the process remains active until the SDK successfully pushes the transaction to Warp.