I treated erosive gastritis caused by H-pylori. Chances of stomach cancer after H-pylori has been eradicated is the same as the general population?

NO. Incidence of gastric cancer in H - pylori infected individuals is higher than normal population; it is good you got treated, you also will feel better/less gastric troubles with out H- pylori infection.