Yup, I think government should be forbidden from making any contract where they owe money in the future for wages paid today. Today's taxpayer pays for services rendered thirty years ago and today; no wonder our services get worse every year.
For example, Seattle had a mayor Ed Murray. His couple year tenure resulted in the state needing to pay $80k/year more until he dies, so probably $3 million. That should have come out of that year's budget. The city should not have been able to obligate others to pay that.