Martignat is a commune .
Martignat is a commune in the Ain department in eastern France .