From 26a83b2f6be11117a4ab0e3810aa2554ef93a8c5 Mon Sep 17 00:00:00 2001 From: Pranav Bhardwaj Date: Mon, 17 Jun 2024 14:08:12 -0400 Subject: [PATCH] update openzeppelin version to 4.9 for ERC20Snapshot and EIP712 --- lib/openzeppelin-contracts | 2 +- src/AuctionBot.sol | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/openzeppelin-contracts b/lib/openzeppelin-contracts index 01ef448..54b3f14 160000 --- a/lib/openzeppelin-contracts +++ b/lib/openzeppelin-contracts @@ -1 +1 @@ -Subproject commit 01ef448981be9d20ca85f2faf6ebdf591ce409f3 +Subproject commit 54b3f14346da01ba0d159114b399197fea8b7cda diff --git a/src/AuctionBot.sol b/src/AuctionBot.sol index 2c0ed77..b1b4d7b 100644 --- a/src/AuctionBot.sol +++ b/src/AuctionBot.sol @@ -41,7 +41,7 @@ contract AuctionBot is Ownable { bytes32 balancerPoolId; } - constructor(address _auctionRebalanceModule) Ownable(msg.sender) { + constructor(address _auctionRebalanceModule) Ownable() { auctionRebalanceModule = IAuctionRebalanceModule(_auctionRebalanceModule); allowedCallers[msg.sender] = true; } @@ -262,4 +262,3 @@ contract AuctionBot is Ownable { balancerVault.swap(singleSwap, fundManagement, type(uint256).max, type(uint256).max); } } -