I am trying to create a contract that has an instance of two other contracts. I am unable to create it. It keeps running out of gas even if I increase it to 999999999999999999999999999.
If I comment the functions that call functions in the other two contracts, it gets created, otherwise it doesn't.
Is there a way around it? How do contracts that use other contracts get created??