The war did not contribute much to the cost of living here. We now have to import natural gas from different nations, and apparently Ukraine was the #1 supplier of sunflower seeds, but that's mostly it.
The cost of living mainly rose due to a housing bubble and inflation. And of course, you've got lots of individuals that lost their livelihood from COVID lockdowns, post-COVID chronic fatigue and climate-related catastrophes.
I also have no idea what you mean by the current government being opposed to ending the war. They don't want to invade Russia to defeat Putin, no one here wants to try that. But unlike the far right, they are in favor of supporting Ukraine to hold Putin off.
If your idea of ending the war is giving Putin half of Ukraine and hoping he's then satiated, I do not see how that should work. It's not like Russia needs more territory. Putin started this war, because he's mentally ill. He will start another war in a few years, if this one is "ended" by sacrificing Ukraine, because he will still be mentally ill.
I deliberately chose a high number, because I'm saying there's no reason this would satiate Putin. He has no need for those 20% land. Why should he stop when he gets them?