As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AIRCRAFT WAS GROUNDED: CLIMBING THROUGH 30,000, 2 BANGS HEARD AND ECAM MESSAGE DISPLAYED COMPRESSOR STALL NR 2 ENGINE. EMERGENCY DECLARED AND FLIGHT LANDED WITHOUT FURTHER INCIDENT. MAINTENANCE REPLACED #2 ENGINE AND PERFORMED SATISFACTORY OPERATIONAL CHECK.