When codegenning a transaction we must set the active module in codegen to the given one.
When codegenning a transaction we must set the active module in codegen to the given one.

Add an assertion checking if there is codegen.

root-mirror/root,buuck/root,krafczyk/root,thomaskeck/root,sbinet/cxx-root,Y--/root,sawenzel/root,karies/root,vukasinmilosevic/root,thomaskeck/root,sbinet/cxx-root,davidlt/root,CristinaCristescu/root,esakellari/root,mattkretz/root,pspe/root,zzxuanyuan/root,jrtomps/root,mkret2/root,BerserkerTroll/root,nilqed/root,davidlt/root,alexschlueter/cern-root,bbockelm/root,sirinath/root,zzxuanyuan/root-compressor-dummy,karies/root,simonpf/root,jrtomps/root,perovic/root,olifre/root,alexschlueter/cern-root,Y--/root,agarciamontoro/root,evgeny-boger/root,CristinaCristescu/root,Duraznos/root,CristinaCristescu/root,perovic/root,omazapa/root,olifre/root,vukasinmilosevic/root,omazapa/root,sawenzel/root,karies/root,Duraznos/root,Y--/root,dfunke/root,Y--/root,perovic/root,veprbl/root,alexschlueter/cern-root,jrtomps/root,perovic/root,sirinath/root,beniz/root,cxx-hep/root-cern,gganis/root,mhuwiler/rootauto,veprbl/root,georgtroska/root,davidlt/root,nilqed/root,zzxuanyuan/root-compressor-dummy,perovic/root,sawenzel/root,satyarth934/root,esakellari/root,dfunke/root,zzxuanyuan/root,zzxuanyuan/root,esakellari/my_root_for_test,sbinet/cxx-root,cxx-hep/root-cern,omazapa/root-old,buuck/root,veprbl/root,bbockelm/root,karies/root,esakellari/my_root_for_test,pspe/root,buuck/root,mhuwiler/rootauto,sbinet/cxx-root,abhinavmoudgil95/root,smarinac/root,arch1tect0r/root,nilqed/root,mkret2/root,gganis/root,bbockelm/root,mattkretz/root,root-mirror/root,CristinaCristescu/root,mattkretz/root,0x0all/ROOT,Duraznos/root,smarinac/root,satyarth934/root,evgeny-boger/root,gbitzes/root,veprbl/root,georgtroska/root,root-mirror/root,dfunke/root,gganis/root,zzxuanyuan/root-compressor-dummy,bbockelm/root,sirinath/root,Duraznos/root,agarciamontoro/root,pspe/root,BerserkerTroll/root,simonpf/root,root-mirror/root,0x0all/ROOT,arch1tect0r/root,zzxuanyuan/root,veprbl/root,olifre/root,arch1tect0r/root,buuck/root,buuck/root,davidlt/root,agarciamontoro/root,simonpf/root,pspe/root,mhuwiler/rootauto,vukasinmilosevic/root,karies/root,mattkretz/root,omazapa/root,evgeny-boger/root,pspe/root,smarinac/root,zzxuanyuan/root,olifre/root,BerserkerTroll/root,vukasinmilosevic/root,beniz/root,pspe/root,sawenzel/root,root-mirror/root,arch1tect0r/root,buuck/root,Duraznos/root,root-mirror/root,arch1tect0r/root,mattkretz/root,bbockelm/root,lgiommi/root,omazapa/root-old,satyarth934/root,beniz/root,karies/root,gbitzes/root,BerserkerTroll/root,esakellari/my_root_for_test,omazapa/root-old,sirinath/root,georgtroska/root,thomaskeck/root,beniz/root,vukasinmilosevic/root,0x0all/ROOT,lgiommi/root,esakellari/root,simonpf/root,davidlt/root,Y--/root,agarciamontoro/root,CristinaCristescu/root,pspe/root,olifre/root,mattkretz/root,vukasinmilosevic/root,omazapa/root-old,mhuwiler/rootauto,olifre/root,perovic/root,lgiommi/root,mkret2/root,zzxuanyuan/root,mattkretz/root,mkret2/root,georgtroska/root,gganis/root,arch1tect0r/root,krafczyk/root,davidlt/root,Y--/root,krafczyk/root,alexschlueter/cern-root,omazapa/root-old,mattkretz/root,agarciamontoro/root,sbinet/cxx-root,zzxuanyuan/root,mkret2/root,esakellari/my_root_for_test,cxx-hep/root-cern,thomaskeck/root,jrtomps/root,buuck/root,omazapa/root,vukasinmilosevic/root,lgiommi/root,veprbl/root,satyarth934/root,mkret2/root,abhinavmoudgil95/root,agarciamontoro/root,sirinath/root,gganis/root,olifre/root,georgtroska/root,bbockelm/root,perovic/root,cxx-hep/root-cern,jrtomps/root,arch1tect0r/root,lgiommi/root,georgtroska/root,lgiommi/root,gbitzes/root,perovic/root,esakellari/root,CristinaCristescu/root,satyarth934/root,beniz/root,sawenzel/root,esakellari/root,0x0all/ROOT,nilqed/root,evgeny-boger/root,sawenzel/root,jrtomps/root,dfunke/root,gganis/root,Duraznos/root,Duraznos/root,krafczyk/root,sirinath/root,jrtomps/root,vukasinmilosevic/root,BerserkerTroll/root,omazapa/root,gbitzes/root,sawenzel/root,davidlt/root,thomaskeck/root,dfunke/root,buuck/root,olifre/root,nilqed/root,gbitzes/root,evgeny-boger/root,veprbl/root,georgtroska/root,abhinavmoudgil95/root,0x0all/ROOT,esakellari/root,veprbl/root,thomaskeck/root,sirinath/root,bbockelm/root,davidlt/root,Duraznos/root,cxx-hep/root-cern,bbockelm/root,omazapa/root-old,esakellari/my_root_for_test,0x0all/ROOT,0x0all/ROOT,Y--/root,dfunke/root,BerserkerTroll/root,pspe/root,esakellari/my_root_for_test,sawenzel/root,zzxuanyuan/root,sbinet/cxx-root,evgeny-boger/root,BerserkerTroll/root,dfunke/root,Y--/root,sbinet/cxx-root,smarinac/root,evgeny-boger/root,georgtroska/root,CristinaCristescu/root,gbitzes/root,smarinac/root,georgtroska/root,mkret2/root,simonpf/root,karies/root,smarinac/root,omazapa/root,CristinaCristescu/root,gganis/root,mkret2/root,thomaskeck/root,omazapa/root,davidlt/root,omazapa/root-old,dfunke/root,agarciamontoro/root,karies/root,alexschlueter/cern-root,sawenzel/root,abhinavmoudgil95/root,smarinac/root,evgeny-boger/root,agarciamontoro/root,krafczyk/root,zzxuanyuan/root,esakellari/my_root_for_test,Duraznos/root,lgiommi/root,CristinaCristescu/root,gbitzes/root,jrtomps/root,mattkretz/root,veprbl/root,pspe/root,root-mirror/root,arch1tect0r/root,CristinaCristescu/root,gbitzes/root,bbockelm/root,smarinac/root,evgeny-boger/root,abhinavmoudgil95/root,root-mirror/root,gganis/root,beniz/root,abhinavmoudgil95/root,dfunke/root,jrtomps/root,krafczyk/root,gganis/root,veprbl/root,mhuwiler/rootauto,zzxuanyuan/root-compressor-dummy,Y--/root,alexschlueter/cern-root,pspe/root,evgeny-boger/root,sbinet/cxx-root,lgiommi/root,thomaskeck/root,lgiommi/root,arch1tect0r/root,mhuwiler/rootauto,beniz/root,omazapa/root,agarciamontoro/root,georgtroska/root,abhinavmoudgil95/root,perovic/root,zzxuanyuan/root-compressor-dummy,cxx-hep/root-cern,olifre/root,simonpf/root,jrtomps/root,bbockelm/root,davidlt/root,beniz/root,thomaskeck/root,agarciamontoro/root,krafczyk/root,omazapa/root,sbinet/cxx-root,gbitzes/root,omazapa/root,omazapa/root-old,vukasinmilosevic/root,Y--/root,zzxuanyuan/root,nilqed/root,vukasinmilosevic/root,mhuwiler/rootauto,agarciamontoro/root,arch1tect0r/root,esakellari/root,perovic/root,karies/root,alexschlueter/cern-root,sbinet/cxx-root,root-mirror/root,zzxuanyuan/root-compressor-dummy,root-mirror/root,zzxuanyuan/root-compressor-dummy,krafczyk/root,esakellari/root,simonpf/root,abhinavmoudgil95/root,0x0all/ROOT,CristinaCristescu/root,mhuwiler/rootauto,gbitzes/root,perovic/root,Duraznos/root,thomaskeck/root,BerserkerTroll/root,zzxuanyuan/root-compressor-dummy,bbockelm/root,nilqed/root,root-mirror/root,arch1tect0r/root,omazapa/root-old,simonpf/root,buuck/root,simonpf/root,karies/root,sawenzel/root,satyarth934/root,buuck/root,abhinavmoudgil95/root,smarinac/root,gbitzes/root,sawenzel/root,smarinac/root,dfunke/root,zzxuanyuan/root,dfunke/root,olifre/root,krafczyk/root,nilqed/root,gganis/root,vukasinmilosevic/root,zzxuanyuan/root-compressor-dummy,veprbl/root,olifre/root,mkret2/root,0x0all/ROOT,mattkretz/root,esakellari/my_root_for_test,beniz/root,BerserkerTroll/root,esakellari/root,cxx-hep/root-cern,krafczyk/root,esakellari/my_root_for_test,sirinath/root,BerserkerTroll/root,pspe/root,zzxuanyuan/root-compressor-dummy,omazapa/root-old,jrtomps/root,satyarth934/root,davidlt/root,mkret2/root,georgtroska/root,Y--/root,Duraznos/root,mhuwiler/rootauto,mattkretz/root,evgeny-boger/root,gganis/root,beniz/root,satyarth934/root,BerserkerTroll/root,simonpf/root,cxx-hep/root-cern,nilqed/root,nilqed/root,sbinet/cxx-root,krafczyk/root,buuck/root,mhuwiler/rootauto,karies/root,satyarth934/root,nilqed/root,omazapa/root,beniz/root,satyarth934/root,esakellari/root,abhinavmoudgil95/root,sirinath/root,esakellari/my_root_for_test,zzxuanyuan/root-compressor-dummy,simonpf/root,sirinath/root,lgiommi/root,mkret2/root,esakellari/root,sirinath/root,lgiommi/root,abhinavmoudgil95/root,mhuwiler/rootauto,zzxuanyuan/root,satyarth934/root,omazapa/root-old