There is another fine way to handle it, which is to use a defined contribution plan rather than a defined benefit plan.
The problem for a lot of states is that it's already too late for any of that. It isn't that we don't know how to do it right, it's that they've been doing it wrong for 50 years and now the account has insufficient funds to cash the checks.
The states essentially borrowed billions of dollars from their pensions without any available future revenue source from which to pay that amount of money back.
So now they have two problems. The first is that if they don't want to be having this problem indefinitely they have to start contributing more than they have to the retirement funds of the current government employees, which means raising taxes or cutting spending (or, similar but different, reducing the number of government employees). And the second is that they have to either pay the shortfall for the existing pensions out of current revenues, which means raising taxes or cutting spending again, or they're filing for bankruptcy.
But nobody ever likes any of those options.