The provisions of general law contained in chapters 35.40 and 39.90 RCW, relating to the validation and funding of debts and elections pertaining thereto is hereby recognized as applicable to code cities.