[dm-era] automatically roll over era
[dm-era] More debugging