Troubleshooting

Here are the common errors new developers encounter, and their solutions.

FATAL: Unable to initialize the API: createType(CurrencyId):: Cannot construct unknown type CurrencyId

You are missing the types.json file in the developer settings of the console.

» Docs

Bootnode with peer id … is on a different chain (our genesis: 0x… theirs: 0x…)

If you compiled the reef-node binary yourself you will have to initialize the chain with the chain spec file, since the WASM builds are not deterministic. Just do --chain chain-spec.json.

» Docs

Weird database errors

Whenever you run into some sort of database error, purge-cache subcommand is your friend. You can do a fresh sync after the purge, and things should just work.

» Docs