Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
geoff-vball committed Sep 19, 2024
1 parent 59a98b1 commit ed15d98
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ abstract contract PoSValidatorManagerTest is ValidatorManagerTest {
registrationExpiry: DEFAULT_EXPIRY,
blsPublicKey: DEFAULT_BLS_PUBLIC_KEY
});
vm.expectRevert(_formatErrorMessage("invalid delegation fee"));
vm.expectRevert(_formatErrorMessage("delegation fee too low"));
_initializeValidatorRegistration(
registrationInput,
DEFAULT_MINIMUM_DELEGATION_FEE_BIPS - 1,
Expand All @@ -98,7 +98,7 @@ abstract contract PoSValidatorManagerTest is ValidatorManagerTest {
blsPublicKey: DEFAULT_BLS_PUBLIC_KEY
});
uint16 delegationFeeBips = posValidatorManager.MAXIMUM_DELEGATION_FEE_BIPS() + 1;
vm.expectRevert(_formatErrorMessage("invalid delegation fee"));
vm.expectRevert(_formatErrorMessage("delegation fee too high"));
_initializeValidatorRegistration(
registrationInput,
delegationFeeBips,
Expand Down

0 comments on commit ed15d98

Please sign in to comment.