ZcashFoundation / zebra

Zcash - Financial Privacy in Rust 🦓
https://zfnd.org/zebra/
Apache License 2.0
412 stars 106 forks source link

fix(test): Fixes a bug in the `sending_transactions_using_lightwalletd` test #9052

Open arya2 opened 7 hours ago

arya2 commented 7 hours ago

Motivation

This PR fixes a bug in the sending_transactions_using_lightwalletd test where transactions from multiple future blocks are being sent to the mempool without committing prior blocks to the chain.

Solution

Submits blocks to the state after sending their transactions to the mempool.

Tests

The test should pass in CI.

PR Author's Checklist

PR Reviewer's Checklist