fix(contracts): assume no zero address for beneficiary address in `ProtocolFee` fuzz test (#4781)

### Description

<!--
What's included in this PR?
-->

### Drive-by changes

<!--
Are there any minor or drive-by changes also included?
-->

### Related issues

<!--
- Fixes #[issue number here]
-->

### Backward compatibility

<!--
Are these changes backward compatible? Are there any infrastructure
implications, e.g. changes that would prohibit deploying older commits
using this infra tooling?

Yes/No
-->

### Testing

<!--
What kind of testing have these changes undergone?

None/Manual/Unit Tests
-->
pull/4789/head
Kunal Arora 3 weeks ago committed by GitHub
parent fc3818d12a
commit cca032fb18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      solidity/test/hooks/ProtocolFee.t.sol

@ -73,6 +73,7 @@ contract ProtocolFeeTest is Test {
}
function testSetBeneficiary(address beneficiary) public {
vm.assume(beneficiary != address(0));
vm.expectEmit(true, true, true, true);
emit ProtocolFee.BeneficiarySet(beneficiary);
fees.setBeneficiary(beneficiary);

Loading…
Cancel
Save