Check configs against LEDGER_HISTORY and FETCH_DEPTH.