diff --git a/contracts/auction-handler/FastLaneAuctionHandler.sol b/contracts/auction-handler/FastLaneAuctionHandler.sol index 60303ac..9526fe3 100644 --- a/contracts/auction-handler/FastLaneAuctionHandler.sol +++ b/contracts/auction-handler/FastLaneAuctionHandler.sol @@ -42,7 +42,7 @@ abstract contract FastLaneAuctionHandlerEvents { ); event RelayWithdrawStuckERC20(address indexed receiver, address indexed token, uint256 amount); - event RelayWithdrawExcessBalance(address indexed receiver, uint256 amount); + event RelayProcessingExcessBalance(address indexed receiver, uint256 amount); event RelayProcessingPaidValidator(address indexed validator, uint256 validatorPayment, address indexed initiator); @@ -581,7 +581,7 @@ contract FastLaneAuctionHandler is FastLaneAuctionHandlerEvents { uint256 excessBalance = totalBalance - validatorsTotal; if (excessBalance > 0) { SafeTransferLib.safeTransferETH(excessBalanceRecipient, excessBalance); - emit RelayWithdrawExcessBalance(excessBalanceRecipient, excessBalance); + emit RelayProcessingExcessBalance(excessBalanceRecipient, excessBalance); } emit RelayProcessingPaidValidator(_validator, payableBalance, msg.sender); return payableBalance; diff --git a/contracts/interfaces/IFastLaneAuctionHandler.sol b/contracts/interfaces/IFastLaneAuctionHandler.sol index 866adeb..fb11fa3 100644 --- a/contracts/interfaces/IFastLaneAuctionHandler.sol +++ b/contracts/interfaces/IFastLaneAuctionHandler.sol @@ -54,7 +54,7 @@ interface IFastLaneAuctionHandler { ); event RelayValidatorPayeeUpdated(address validator, address payee, address indexed initiator); event RelayWithdrawStuckERC20(address indexed receiver, address indexed token, uint256 amount); - event RelayWithdrawExcessBalance(address indexed receiver, uint256 amount); + event RelayProcessingExcessBalance(address indexed receiver, uint256 amount); function clearValidatorPayee() external; function collectFees() external returns (uint256); diff --git a/test/PFL_AuctionHandler.t.sol b/test/PFL_AuctionHandler.t.sol index f38ebcc..b82e9ef 100644 --- a/test/PFL_AuctionHandler.t.sol +++ b/test/PFL_AuctionHandler.t.sol @@ -375,7 +375,7 @@ contract PFLAuctionHandlerTest is PFLHelper, FastLaneAuctionHandlerEvents, Test uint256 balanceBefore = VALIDATOR1.balance; vm.expectEmit(true, true, true, true); emit RelayProcessingPaidValidator(VALIDATOR1, expectedValidatorPayout, VALIDATOR1); - emit RelayWithdrawExcessBalance(address(0), excessBalance); + emit RelayProcessingExcessBalance(address(0), excessBalance); vm.prank(VALIDATOR1);