Let’s assume I have two identical counter contracts:
CounterA
MockCounterA
One lives in a git repo (CounterA) and the other lives locally (MockCounterA)
If I create a contract (ConsumesCounter) that imports the interface of ContractA from git and has a setter for the ContractID
Then in the tests, I deploy locally MockCounterA, and set the ContractID to point to MockCounterA in ConsumesCounter
Will the rust tests work?
Both CounterA and MockCounterA are identical in abi and storage names