diff --git a/.github/workflows/continous-integration-docker.yml b/.github/workflows/continous-integration-docker.yml index 23b18083..55d9aedb 100644 --- a/.github/workflows/continous-integration-docker.yml +++ b/.github/workflows/continous-integration-docker.yml @@ -255,7 +255,6 @@ jobs: zebra_state_dir: 'zebrad-cache' # Test that Zebra can handle a lightwalletd send transaction RPC call, using a cached Zebra tip state - # TODO: use a cached lightwalletd tip state to speed up the test (#4303) lightwalletd-transactions-test: needs: build uses: ./.github/workflows/deploy-gcp-tests.yml @@ -266,10 +265,12 @@ jobs: test_description: Test sending transactions via lightwalletd test_variables: '-e TEST_LWD_TRANSACTIONS=1 -e ZEBRA_TEST_LIGHTWALLETD=1 -e ZEBRA_FORCE_USE_COLOR=1 -e ZEBRA_CACHED_STATE_DIR=/var/cache/zebrad-cache -e LIGHTWALLETD_DATA_DIR=/var/cache/lwd-cache' needs_zebra_state: true + needs_lwd_state: true saves_to_disk: false disk_suffix: tip root_state_path: '/var/cache' zebra_state_dir: 'zebrad-cache' + lwd_state_dir: 'lwd-cache' # Test full sync of lightwalletd with a Zebra tip state lightwalletd-full-sync: diff --git a/zebrad/tests/common/lightwalletd/send_transaction_test.rs b/zebrad/tests/common/lightwalletd/send_transaction_test.rs index cfc6b2c7..944f5749 100644 --- a/zebrad/tests/common/lightwalletd/send_transaction_test.rs +++ b/zebrad/tests/common/lightwalletd/send_transaction_test.rs @@ -52,12 +52,7 @@ pub async fn run() -> Result<()> { // We want a zebra state dir and a lightwalletd data dir in place, // so `UpdateCachedState` can be used as our test type - // - // But for now, we don't want to require the cached state, because it's not ready yet. - // TODO: use `UpdateCachedState` - let test_type = FullSyncFromGenesis { - allow_lightwalletd_cached_state: true, - }; + let test_type = UpdateCachedState; let cached_state_path = test_type.zebrad_state_path("send_transaction_tests".to_string()); if cached_state_path.is_none() {