Skip to content

Stacks 2.0 Testnet Wiki

Diwaker Gupta edited this page May 20, 2020 · 3 revisions

Stacks 2.0 Testnet Wiki

🏠 Main testnet homepage

What information to collect for debugging?

  • Make sure you enable debug logs and backtraces. Something like BLOCKSTACK_DEBUG=1 RUST_BACKTRACE=1 cargo testnet start --config your-config.toml should work
  • It might be easier to direct the log output to a file. Something like BLOCKSTACK_DEBUG=1 RUST_BACKTRACE=1 cargo testnet start --config miner.toml >> miner.log 2>&1 should work
  • The on-disk chain state can be useful for debugging. Look for the most recently created directory under /tmp of the form /tmp/stacks-*
    • there is a working_dir option available (under the node section) to fix the chainstate path, however it is not fully-tested. Use at your own risk.

Neon

Known issues: