Systems near mean-motion resonances (MMRs) are subject to large transit-timing variations (TTVs). The amplitude and period of the TTVs strongly depend on the distance to exact MMR and the planetary eccentricities which are shaped during the formation and long-term evolution of the system. For close-in planets, the tides raised by the star provide a source of dissipation, placing the planets further away from the MMR. In this work, we will discuss how the tidal interactions with the central star play an important role in shaping the period ratios and resonant angles in resonant chains. Moreover, we will show how they can impact the TTVs and therefore how the TTVs could serve as a means to put constraints on the tidal history of planetary systems. The study will focus on the four-planet resonant chain of Kepler-80.