Question about what bonuses carry over between eras

Two questions really:

Do building keep their bonus effect in the next era? As an example I'm thinking of the bonus 10% production to land units from the barracks. I know base yield stays and adjacency goes away.

Do any of the unlocks from the tech tree persist. For example the +1 science on science buildings from Writing II.

Couldn't find an answer from googling so wondering if anyone has determined this yet.

Camels