KeyringCoreV2Base::_createCredential() could use currentTime instead of block.timestamp on the creatBefore check
Description
KeyringCoreV2Base::_createCredential() checks that the current block.timestamp has not exceeded creatBefore by doing:
if (block.timestamp > creatBefore) {
revert ErrInvalidCredential(policyId, tradingAddress, "EPO");
}It could use currentTime instead as it has been cached.
Recommendation
if (currentTime > creatBefore) {
revert ErrInvalidCredential(policyId, tradingAddress, "EPO");
}Status
Addressed in #ffe8b11.