Before the bonds are delivered to the purchasers, the record relating to the bonds shall be examined by the attorney general. If the record demonstrates that the bonds have been issued in accordance with the constitution and this chapter, the bonds shall be approved by the attorney general.