Skip to content

Commit

Permalink
fix: remove unused events
Browse files Browse the repository at this point in the history
  • Loading branch information
CheyenneAtapour committed Aug 9, 2024
1 parent 81a0ed1 commit 1ded1e4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/test/mocks/MockUpgradeableLockReleaseTokenPool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ contract MockUpgradeableLockReleaseTokenPool is Initializable {
error Unauthorized(address caller);
error ZeroAddressNotAllowed();

event BridgeLimitUpdated(uint256 oldBridgeLimit, uint256 newBridgeLimit);
event BridgeLimitAdminUpdated(address indexed oldAdmin, address indexed newAdmin);
event ChainConfigured(
uint64 remoteChainSelector,
RateLimiter.Config outboundRateLimiterConfig,
Expand Down Expand Up @@ -81,13 +79,11 @@ contract MockUpgradeableLockReleaseTokenPool is Initializable {
if (msg.sender != s_bridgeLimitAdmin && msg.sender != owner()) revert Unauthorized(msg.sender);
uint256 oldBridgeLimit = s_bridgeLimit;
s_bridgeLimit = newBridgeLimit;
emit BridgeLimitUpdated(oldBridgeLimit, newBridgeLimit);
}

function setBridgeLimitAdmin(address bridgeLimitAdmin) external {
address oldAdmin = s_bridgeLimitAdmin;
s_bridgeLimitAdmin = bridgeLimitAdmin;
emit BridgeLimitAdminUpdated(oldAdmin, bridgeLimitAdmin);
}

function getBridgeLimit() external view virtual returns (uint256) {
Expand Down

0 comments on commit 1ded1e4

Please sign in to comment.