I am trying to figure out what I am supposed to do in this instance.
I have a hub/spoke relationship set up with a couple of contracts. The hub contract creates the spoke contract and the spoke has calls back to the hub.
When I don't have an import in each then I get an "Identifier not found" error but when I do a circular include I get "Identifier already declared".
This works when the entire thing is one file but then I don't know how to output the ABI for the non-hub contract since that is what is getting deployed.
I am doing this as a means of security and identity management as I want the the hub to only trust calls it gets from its spokes for some functionality.
I am using truffle as my development environment.