In the event that any proceedings are abandoned by reason of protest filed pursuant to the provisions of Section 2930 hereof, or for any other reason, the cost and expense of such proceedings to the date of such abandonment shall be a charge against the treasurer of the city, county, district or other public corporation instituting such proceedings.