This study demonstrated that EndoA2 protected cardiac function in response to MI via attenuating ER-stress-mediated ERO1α/IP3R signaling pathway. This evidence concerns the gene ITPR1 and myocardial infarction.