Crisis, protectionism and inflation: war prepares the way for revolution