Citadel-DAO / citadel-contracts

Citadel DAO Core Contracts
31 stars 11 forks source link

Create variant of forknet deploy script where the test user already has positions in the system #25

Open dapp-whisperer opened 2 years ago

dapp-whisperer commented 2 years ago

In a new script that's a varaint of the forknet deploy script, signers[0] should start with wBTC, CVX, CTDL, xCTDL that is halfway withdrawable, and vlCTDL locked positions (one locked, one unlockable). The user should also have unclaimed vlCTDL rewards in the locker.

Advance time and handle setup as needed to allow this state to exist.

The test files for KnightingRound and MintAndDistribute, as well as the setup in BaseFixture.sol should offer good clues about how to get the system to the desired state.

aj-maz commented 2 years ago

@dapp-whisperer I think this issue should be closed