If the war continues for much longer, diesel could soon test its all-time high of $5.82, set in June 2022 after Russia’s invasion of Ukraine.