All contracts, instruments of conveyance, consents, leases or other documents mentioned in section 13:12-23 of this title shall be approved as to form by the attorney general before being executed by the canal company.