Skip to content

Commit

Permalink
fix: compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Schlagonia committed Oct 24, 2024
1 parent e0184aa commit f4a2eef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Auctions/DumperAuction.sol
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ contract DumperAuction is Governance2Step, ReentrancyGuard {
unchecked {
left = auction.currentAvailable - _amountTaken;
}
auctions[_from].currentAvailable = left;
auctions[_from].currentAvailable = uint128(left);

// If the caller has specified data.
if (_data.length != 0) {
Expand Down
6 changes: 3 additions & 3 deletions src/Auctions/DumperAuctionFactory.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity >=0.8.18;

import {Auction} from "./Auction.sol";
import {DumperAuction} from "./DumperAuction.sol";
import {Clonable} from "../utils/Clonable.sol";

/// @title AuctionFactory
Expand All @@ -20,7 +20,7 @@ contract AuctionFactory is Clonable {

constructor() {
// Deploy the original
original = address(new Auction());
original = address(new DumperAuction());
}

/**
Expand Down Expand Up @@ -144,7 +144,7 @@ contract AuctionFactory is Clonable {
) internal returns (address _newAuction) {
_newAuction = _clone();

Auction(_newAuction).initialize(
DumperAuction(_newAuction).initialize(
_want,
_receiver,
_governance,
Expand Down

0 comments on commit f4a2eef

Please sign in to comment.