Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: 2771 #2773

Merged
merged 20 commits into from
Jul 21, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: cargo fmt
  • Loading branch information
lgalabru committed Jul 20, 2021
commit 1df0457c44e57cac590d495aa2a59cfd60ef642e
6 changes: 3 additions & 3 deletions testnet/stacks-node/src/tests/neon_integrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1383,9 +1383,9 @@ fn should_fix_2771() {
btc_regtest_controller.build_next_block(1);
thread::sleep(Duration::from_secs(5));

// The test here consists in producing a canonical chain with 210 blocks.
// Once done, we invalidate the block 208, and instead of rebuilding directly
// a longer fork with N blocks (at done in the bitcoind_forking_test)
// The test here consists in producing a canonical chain with 210 blocks.
// Once done, we invalidate the block 208, and instead of rebuilding directly
// a longer fork with N blocks (at done in the bitcoind_forking_test)
lgalabru marked this conversation as resolved.
Show resolved Hide resolved
lgalabru marked this conversation as resolved.
Show resolved Hide resolved
// we slowly add some more blocks.
// Without the patch, this behavior ends up crashing the node with errors like:
// WARN [1626791307.078061] [src/chainstate/coordinator/mod.rs:535] [chains-coordinator] ChainsCoordinator: could not retrieve block burnhash=40bdbf0dda349642bdf4dd30dd31af4f0c9979ce12a7c17485245d0a6ddd970b
Expand Down