You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add lsSKY -> Sky farm deployment script
* refactor: add full init library for LSSKY -> SKY farm
* test: add coverage for LsskySkyFarmingInit
* refactor: generalize farm initialization library
* refactor: rename parameters in TreasuryFundedFarmingInit test
* feat: add regular farming init
* refactor: improve testing for initializatino of farms
* refactor: remove admin from parameters
* chore: improve formatting
* chore: simplify formatting and linting
* chore: remove TODO
* test: add integration tests for farms after initialization
* chore: remove unused structs
* feat: add updateFarmVest init function
* fix: wrong chainlog key in deployment script
* refactor: explicitly name and check for `DssVestTransferrable`
* chore: clean up interfaces
* fix: typo in function name
* refactor: add comments to FarmingInitParams fields
* fix: add ETH_RPC_URL to CI env
* chore: fix typos
* test: add coverage for updating `cap`
* test: add fuzzing for e2e tests
* fix: make CI use a stable Foundry version
* refactor: make dependency on `DssVestTransferrable` explicit
* fix: wrong interface name after merge
* fix: missing interface method
* fix: missing interface method (again)
* refactor: remove noise from implementation
* refactor: add test coverage for `updateVestFarm`
* refactor: address review comments
* refactor: add extended sanity checks to updateFarmVest
- Validate vestTot > 0 to prevent zero total vesting
- Validate vestTau > 0 to prevent division by zero
- Check that distribution vestId is already set (not zero)
- Verify vest gem matches distribution gem
- Fix error message prefix from initFarm to updateFarmVest
- Add comprehensive test coverage for invalid parameters
* refactor: add cap adjustment handling for updateFarmVest
- Check if vest cap needs adjustment when required rate exceeds current cap
- Set cap to rate with 10% buffer when adjustment is needed
- Refactor allowance calculation into scoped block for clarity
- Add comprehensive test coverage for cap adjustment scenarios
- Add tests for allowance calculation and vest creation parameters
* chore: remove extra whitespace
* fix: move vest parameter assertions to correct test function
* refactor: separate integration tests into dedicated file
* test: improve assertion error messages in integration tests
Replace generic error messages with descriptive ones that clearly explain
what operation failed and what the expected behavior should be.
---------
Signed-off-by: amusingaxl <[email protected]>
0 commit comments