Dollar surges as traders brace for war impact