Skip to content

Commit

Permalink
lint: run lint
Browse files Browse the repository at this point in the history
  • Loading branch information
QEDK committed Jan 17, 2024
1 parent c664ef2 commit 8dd4813
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/AvailBridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ contract AvailBridge is
function withdrawFees() external {
uint256 val = fees;
delete fees;
(bool success, ) = feeRecipient.call{value: val}("");
(bool success,) = feeRecipient.call{value: val}("");
if (!success) {
revert WithdrawFailed();
}
Expand Down
4 changes: 3 additions & 1 deletion test/AvailBridgeTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,9 @@ contract AvailBridgeTest is Test, MurkyBase {
assertEq(bridge.fees(), amount);
}

function testRevertWithdrawalFailed_withdrawFees(bytes32 to, bytes calldata data, uint32 feePerByte, uint256 amount) external {
function testRevertWithdrawalFailed_withdrawFees(bytes32 to, bytes calldata data, uint32 feePerByte, uint256 amount)
external
{
vm.prank(owner);
bridge.updateFeePerByte(feePerByte);
vm.assume(data.length < 102_400 && amount >= bridge.getFee(data.length));
Expand Down

0 comments on commit 8dd4813

Please sign in to comment.