Open Mohsen-T opened 9 months ago
@Mohsen-T
to reach this point, create a test in test/validators/remove.ts
trying to remove an existing validator (publicKey
correct) with the wrong parameters (msg.sender
or operatorIds
)
@Mohsen-T please create a test to fire the revert PublicKeysSharesLengthMismatch
In ClusterLib.sol seems this line is skipped.
The test Register validator in a new cluster with incorrect input data
passes the wrong cluster data. Maybe you can pass specifically that parameter wrong to include that line in the coverage? thanks
In OperatorsLib.sol, we haven't tested ExceedValidatorLimit
error😱
ProtocolLib.sol
Please test the MaxValueExceeded
error
ValidatorLib.sol
Please test InvalidOperatorIdsLength
and InvalidPublicKeyLength
please skip contracts/upgrades
from the coverage test