Closed jmintuitive closed 1 month ago
ok, so tests are failing because of this change.
ok, so tests are failing because of this change.
We'll need to probably set the field for a lot of tests
@0xmaayan Updated the logic so it's more explicit that undefined
means that we wait for the indexer (this is functionally equivalent to the old default of always waiting :) )
This is ready for re-review when you have a chance :)
@0xmaayan Updated to remove the unnecessary option: { waitForIndexer = true }
lines :)
Description
Funding an account using the faucet currently always triggers the logic to "waitForIndexer" since
undefined !== false
istrue
.This PR updates the logic so that it only waits for the indexer if
options.waitForIndexer
istrue
.This was found by trying to run
simple_transfer.ts
in the example folder, and immediately getting this error:While this fix solves the immediate issue for the tutorial, it does NOT address why
processor_status
was not found in thequery_root
for the devnet indexer. That should be investigated separately.(I also updated the contributing guide to clearly spell out how to test code since it was very easy to miss when skimming.)
Test Plan
BEFORE:
AFTER:
Related Links