mirror of https://github.com/logos-co/staking.git
fcb620743b
This is a work in progress. This commit will be split in many other PRs to address each one of the changes. Remove debug code and optimize the epoch finalization process in the StakeManager contract. The debug code related to the `nextEpoch` variable has been removed. The `finalizeEpoch` modifier has been optimized to process epochs more efficiently . The `executeEpoch` function has been updated to execute epochs up to a specified limit. The `_processAccount` function has been modified to use a `while` loop instead of a `for` loop to fix a problem with the code. |
||
---|---|---|
.. | ||
mocks | ||
script | ||
StakeManager.t.sol | ||
StakeVault.t.sol | ||
VaultFactory.t.sol |