Central banks around the world have hiked interest rates to contain the surge of inflation that came as economies recovered from pandemic shutdowns. Most of the countries in the G20, with the exception of Japan and China, have raised rates since 2021.