Answer: Comí
Explanation:
We reference the preterite in this situation because we are talking about what you did last night that was a specific event.
The imperfect is used to describe background details that are often not apart of specific details/events.
Hope this helps!