The state’s campaign finance rules were restored in the early hours of Friday morning, but a fresh legal challenge already looms to the legislation negotiated by the Allan government.

The major parties would dodge paying back donations from their investment funds if they have already spent the cash, under the government’s plan to restore campaign finance laws.

The Victorian government will introduce laws to reinstate limits on political donations after a court found the old framework was unconstitutional.