Unable to deploy csModule and csAccounting contract in foundry test

I am unable to deploy csModule and csAccounting in the test setup as they depend on each other in their contract, i also tried checking out how you deploy them in your own test, you made use of mocks that have different logic to the actual function logic

Gm! Yes, we are currently using an approach with the Dummy.sol as temporary implementation. This is done to make use of the immutable variables for address. community-staking-module/script/DeployBase.s.sol at develop · lidofinance/community-staking-module · GitHub is a good reference.

1 Like