mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 01:38:32 +00:00
style: format
This commit is contained in:
parent
cee942e989
commit
c8f29955c3
1 changed files with 10 additions and 4 deletions
|
|
@ -182,7 +182,9 @@ contract OperatorAddressMappingsTest is AVSDeployer {
|
|||
solo1,
|
||||
"forward mapping should be set before removal"
|
||||
);
|
||||
assertTrue(serviceManager.validatorsAllowlist(operator1), "operator should start allowlisted");
|
||||
assertTrue(
|
||||
serviceManager.validatorsAllowlist(operator1), "operator should start allowlisted"
|
||||
);
|
||||
assertTrue(
|
||||
allocationManager.isMemberOfOperatorSet(
|
||||
operator1,
|
||||
|
|
@ -195,7 +197,8 @@ contract OperatorAddressMappingsTest is AVSDeployer {
|
|||
serviceManager.removeValidatorFromAllowlist(operator1);
|
||||
|
||||
assertFalse(
|
||||
serviceManager.validatorsAllowlist(operator1), "operator should be removed from allowlist"
|
||||
serviceManager.validatorsAllowlist(operator1),
|
||||
"operator should be removed from allowlist"
|
||||
);
|
||||
assertFalse(
|
||||
allocationManager.isMemberOfOperatorSet(
|
||||
|
|
@ -220,13 +223,16 @@ contract OperatorAddressMappingsTest is AVSDeployer {
|
|||
vm.prank(avsOwner);
|
||||
serviceManager.addValidatorToAllowlist(operator1);
|
||||
|
||||
assertTrue(serviceManager.validatorsAllowlist(operator1), "operator should start allowlisted");
|
||||
assertTrue(
|
||||
serviceManager.validatorsAllowlist(operator1), "operator should start allowlisted"
|
||||
);
|
||||
|
||||
vm.prank(avsOwner);
|
||||
serviceManager.removeValidatorFromAllowlist(operator1);
|
||||
|
||||
assertFalse(
|
||||
serviceManager.validatorsAllowlist(operator1), "operator should be removed from allowlist"
|
||||
serviceManager.validatorsAllowlist(operator1),
|
||||
"operator should be removed from allowlist"
|
||||
);
|
||||
assertEq(
|
||||
serviceManager.validatorEthAddressToSolochainAddress(operator1),
|
||||
|
|
|
|||
Loading…
Reference in a new issue