2

RMRK Syncing doc advises to start kusama node with

chmod +x polkadot && mv polkadot kusama
./kusama --pruning archive --db rocksdb

When i run this in Linux, it says "State Database error: Expected pruning mode: constrained". The same occurs when i run rust-compiled directly on Mac. any ideas about this errror message and how to get past it?

Brandon Macer
  • 473
  • 5
  • 8

2 Answers2

1

I was trying to run kusama from a snapshot. And got same error.

For me solution was to add this:

--unsafe-pruning --pruning=1000
  • Worked for me, thanks. Note: If you downloaded the database you need to match the pruning params. – DerekC Apr 15 '22 at 16:23
0

This happens when you started your chain without archive pruning in the past, so dbs don't match. Purge chain and try again.

./kusama purge-chain
Brandon Macer
  • 473
  • 5
  • 8