Skip to content

Conversation

@shyam-patel-kira
Copy link
Member

Description:

  • Added more tests for StateManager, StakeManager and JobsManager.
  • Added new tests for ACL
  • Add simulations to StateManager for testing stateTransition

Testing

forge build --skip script/DeployUpgradeableLuminoProtocol.s.sol 

# for running these tests
forge test -vv

# for coverage
forge coverage --skip script/DeployUpgradeableLuminoProtocol.s.sol 

Current Coverage

Ran 4 test suites in 124.34ms (20.99ms CPU time): 34 tests passed, 0 failed, 0 skipped (34 total tests)
| File                      | % Lines          | % Statements     | % Branches      | % Funcs         |
|---------------------------|------------------|------------------|-----------------|-----------------|
| src/Core/ACL.sol          | 100.00% (1/1)    | 100.00% (1/1)    | 100.00% (0/0)   | 100.00% (1/1)   |
| src/Core/JobsManager.sol  | 92.42% (61/66)   | 91.03% (71/78)   | 57.14% (24/42)  | 88.89% (8/9)    |
| src/Core/StakeManager.sol | 100.00% (35/35)  | 100.00% (38/38)  | 80.77% (21/26)  | 100.00% (10/10) |
| src/Core/StateManager.sol | 100.00% (11/11)  | 100.00% (19/19)  | 100.00% (10/10) | 100.00% (5/5)   |
| Total                     | 95.58% (108/113) | 94.85% (129/136) | 70.51% (55/78)  | 96.00% (24/25)  |

@linear
Copy link

linear bot commented Dec 23, 2024

@shyam-patel-kira shyam-patel-kira changed the base branch from feat/github-actions to feat/stakeTokens January 6, 2025 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants