Skip to content

Conversation

tharbert
Copy link

Description

A stacks testnet node fails to start with this configuration, throwing a panic due to incorrect burnchain epoch configuration:

INFO [1758668797.581118] [stacks-node/src/run_loop/neon.rs:558] [main] Start syncing Bitcoin headers, feel free to grab a cup of coffee, this can take a while
ERRO [1758668797.583847] [stacks-node/src/main.rs:255] [main] Process abort due to thread panic: panicked at stackslib/src/chainstate/burn/db/sortdb.rs:3071:17:
FATAL: tried to retcon epoch StacksEpoch { epoch_id: Epoch25, start_height: 6, end_height: 1900, block_limit: ExecutionCost { write_length: 15000000, write_count: 15000, read_length: 100000000, read_count: 15000, runtime: 5000000000 }, network_epoch: 10 } into epoch StacksEpoch { epoch_id: Epoch25, start_height: 6, end_height: 56457, block_limit: ExecutionCost { write_length: 15000000, write_count: 15000, read_length: 100000000, read_count: 15000, runtime: 5000000000 }, network_epoch: 10 }

Updating to mirror the working version here:

https://docs.stacks.co/reference/sample-configuration-files#stacks-node-testnet-config

This was tested using blockstack/stacks-core:3.2.0.0.1

Use the following template to create your pull request

Type of Change

  • API reference/documentation update

Does this introduce a breaking change?

No

A stacks testnet node fails to start with this configuration, throwing a panic due to incorrect burnchain epoch configuration:

```
INFO [1758668797.581118] [stacks-node/src/run_loop/neon.rs:558] [main] Start syncing Bitcoin headers, feel free to grab a cup of coffee, this can take a while
ERRO [1758668797.583847] [stacks-node/src/main.rs:255] [main] Process abort due to thread panic: panicked at stackslib/src/chainstate/burn/db/sortdb.rs:3071:17:
FATAL: tried to retcon epoch StacksEpoch { epoch_id: Epoch25, start_height: 6, end_height: 1900, block_limit: ExecutionCost { write_length: 15000000, write_count: 15000, read_length: 100000000, read_count: 15000, runtime: 5000000000 }, network_epoch: 10 } into epoch StacksEpoch { epoch_id: Epoch25, start_height: 6, end_height: 56457, block_limit: ExecutionCost { write_length: 15000000, write_count: 15000, read_length: 100000000, read_count: 15000, runtime: 5000000000 }, network_epoch: 10 }
```

Updating to mirror the working version here:

https://docs.stacks.co/reference/sample-configuration-files#stacks-node-testnet-config
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants