Skip to content

Commit

Permalink
feat: remove caller not eoa limit (#418)
Browse files Browse the repository at this point in the history
Signed-off-by: GopherJ <[email protected]>
  • Loading branch information
GopherJ committed Sep 20, 2023
1 parent 2aa2ecd commit f78e50c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion contracts/protocol/libraries/logic/ValidationLogic.sol
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,6 @@ library ValidationLogic {
DataTypes.ReserveData storage collateralReserve,
DataTypes.ValidateAuctionParams memory params
) internal view {
require(tx.origin == msg.sender, Errors.CALLER_NOT_EOA);
ValidateAuctionLocalVars memory vars;

(
Expand Down
1 change: 0 additions & 1 deletion contracts/protocol/pool/PoolParameters.sol
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ contract PoolParameters is
function setAuctionValidityTime(
address user
) external virtual override nonReentrant {
require(tx.origin == msg.sender, Errors.CALLER_NOT_EOA);
DataTypes.PoolStorage storage ps = poolStorage();

require(user != address(0), Errors.ZERO_ADDRESS_NOT_VALID);
Expand Down

0 comments on commit f78e50c

Please sign in to comment.