does the electrode mass diminish at the anode or cathode?

At the anode, the electrode mass diminishes as oxidation reactions occur, resulting in the loss of electrons and the dissolution of the electrode material. At the cathode, the opposite occurs as reduction reactions take place, leading to the deposition of ions onto the electrode surface and an increase in mass.