Dynamics of roughness and surface reactions at solid electrodes