Wait, so the Trade Federation is funding both sides of the war? Why would they even use such different armies? I’d expect them to just both use battle droids at that point.
No, the trade federation intended to replace their battledroids with clones but the republic got wind of this and payed the Kaminoans double to get the clone army. At least that’s the idea.