Cyclic dependency among two of the contracts with the constructor element as the address of the corresponding contract, and this has to be done at the time of deployment only not using _getter and _setter functions. Is there any way to do that?
Actually there might be a way to precompute the contract address before deploying it. Check out this video in which they demonstrate how it's done https://www.youtube.com/watch?v=-XT2YCQGVEQ. Basically, you can repeat the process on both contracts and then you can use their precomputed addresses to perform the cyclic dependency.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article