Skip to content

Commit

Permalink
Oz mapping build fix (#129)
Browse files Browse the repository at this point in the history
* upgraded oz to v5.0

* fixed math lib path
  • Loading branch information
Krishnakumarskr authored Oct 8, 2024
1 parent 55d9b86 commit 8326483
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/contracts/src/vault/FixedYieldVault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
pragma solidity ^0.8.20;

import { AccessControl } from "@openzeppelin/contracts/access/AccessControl.sol";
import { Math } from "openzeppelin-contracts/contracts/utils/math/Math.sol";
import { Math } from "@openzeppelin/contracts/utils/math/Math.sol";

import { MaturityVault } from "./MaturityVault.sol";
import { WhiteListPlugin } from "../plugin/WhiteListPlugin.sol";
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/src/vault/UpsideVault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.20;

import { IERC20 } from "@openzeppelin/contracts/interfaces/IERC20.sol";
import { Math } from "openzeppelin-contracts/contracts/utils/math/Math.sol";
import { Math } from "@openzeppelin/contracts/utils/math/Math.sol";
import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import { FixedYieldVault } from "./FixedYieldVault.sol";

Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/src/vault/Vault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { ERC4626 } from "@openzeppelin/contracts/token/ERC20/extensions/ERC4626.
import { IERC20 } from "@openzeppelin/contracts/interfaces/IERC20.sol";
import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import { Math } from "openzeppelin-contracts/contracts/utils/math/Math.sol";
import { Math } from "@openzeppelin/contracts/utils/math/Math.sol";
import { Pausable } from "@openzeppelin/contracts/utils/Pausable.sol";

/**
Expand Down

0 comments on commit 8326483

Please sign in to comment.