Skip to content

Commit

Permalink
fixing compilation (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
sogipec authored Dec 1, 2022
1 parent a771b2f commit 90dbb1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions contracts/mock/MockSwapperSidechain.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

pragma solidity ^0.8.12;

import "../swapper/SwapperSidechain.sol";
import "../swapper/Swapper.sol";

/// @title MockSwapperSidechain
/// @author Angle Labs, Inc.
contract MockSwapperSidechain is SwapperSidechain {
contract MockSwapperSidechain is Swapper {
error NotImplemented();

/// @notice Constructor of the contract
Expand All @@ -19,7 +19,7 @@ contract MockSwapperSidechain is SwapperSidechain {
IUniswapV3Router _uniV3Router,
address _oneInch,
IAngleRouterSidechain _angleRouter
) SwapperSidechain(_core, _uniV3Router, _oneInch, _angleRouter) {}
) Swapper(_core, _uniV3Router, _oneInch, _angleRouter) {}

function _swapLeverage(bytes memory) internal pure override returns (uint256) {
revert NotImplemented();
Expand Down
2 changes: 1 addition & 1 deletion deploy/7_swapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const func: DeployFunction = async ({ deployments, ethers, network }) => {
console.log('Success');
} else {
await deploy(`Swapper`, {
contract: 'SwapperSidechain',
contract: 'Swapper',
from: deployer.address,
args: [core, json.uniswapV3Router, json.oneInchRouter, json.angleRouter],
log: !argv.ci,
Expand Down

0 comments on commit 90dbb1f

Please sign in to comment.