hardhat coverage report
hardhat coverage --testfiles test
Only the changed contracts listed:
โโโโโโโโโโโโโโโโโโโโโโโโโ|โโโโโ|โโโโโ|โโโโโ|โโโโโ|โโโโโโโโ|
File |
% Stmts |
% Branch |
% Funcs |
% Lines |
Uncovered Lines |
Lido.sol |
100 |
89.71 |
100 |
100 |
|
StETH.sol |
100 |
95.83 |
100 |
100 |
|
StakeLimitUtils.sol |
100 |
100 |
100 |
100 |
|
NodeOperatorsRegistry.sol |
100 |
97.44 |
100 |
100 |
|
LidoOracle.sol |
97.52 |
93.94 |
91.89 |
97.56 |
250,418,420,737 |
CompositePostRebaseBeaconReceiver.sol |
85.71 |
100 |
75 |
87.5 |
53 |
DepositSecurityModule.sol |
100 |
87.5 |
100 |
100 |
|
LidoExecutionLayerRewardsVault.sol |
100 |
80 |
100 |
100 |
|
OrderedCallbacksArray.sol |
100 |
94.44 |
100 |
100 |
|
SelfOwnedStETHBurner.sol |
100 |
97.62 |
100 |
100 |
|
โโโโโโโโโโโโโโโโโโโโโโโโโ |
โโโโโ |
โโโโโ |
โโโโโ |
โโโโโ |
โโโโโโโโ |
auth() branches coverage
The coverage utility doesn't catch missing auth()
modifier branches
The uncovered functions
LidoOracle.sol
- function getVersion() external view returns (uint256)
- function finalizeUpgrade_v3() external
- function _getTime() internal view returns (uint256)
CompositePostRebaseBeaconReceiver.sol
- function supportsInterface(bytes4 _interfaceId) public view virtual override returns (bool)
Missing test cases
- isStakingPaused() is false after resume()
New or changed functions
StETH.sol
New
Modified
Lido.sol
New
- pauseStaking
- _pauseStaking
- resumeStaking
- _resumeStaking
- setStakingLimit
- removeStakingLimit
- isStakingPaused
- getCurrentStakeLimit
- _getCurrentStakeLimit
- getStakeLimitFullInfo
- receiveELRewards
- setELRewardsVault
- setELRewardsWithdrawalLimit
- setProtocolContracts
- _setProtocolContracts
- getTotalELRewardsCollected
- getELRewardsWithdrawalLimit
- getELRewardsVault
- _auth
Modified
- initialize
- depositBufferedEther()
- depositBufferedEther(_maxDeposits)
- stop
- resume
- setFee
- setFeeDistribution
- setWithdrawalCredentials
- handleOracleReport
- transferToVault
- getFee
- getFeeDistribution
- _submit
- _emitTransferAfterMintingShares
- distributeFee
- _setBPValue
- _getTransientBalance
- _getTotalPooledEther
LidoOracle.sol
New
- initialize
- finalizeUpgrade_v3
- _initialize_v3
Modified
- setBeaconReportReceiver
- addOracleMember