Update stacks testnet node config to use correct burnchain epochs#134
Open
tharbert wants to merge 1 commit intostacks-network:masterfrom
Open
Update stacks testnet node config to use correct burnchain epochs#134tharbert wants to merge 1 commit intostacks-network:masterfrom
tharbert wants to merge 1 commit intostacks-network:masterfrom
Conversation
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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
A stacks testnet node fails to start with this configuration, throwing a panic due to incorrect burnchain epoch configuration:
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.1Use the following template to create your pull request
Type of Change
Does this introduce a breaking change?
No