High oil revenues put first-half budget in surplus