Skip to content

Commit

Permalink
remove unused interface/function in interface
Browse files Browse the repository at this point in the history
  • Loading branch information
SidestreamStrongStrawberry committed Feb 21, 2025
1 parent 5345032 commit 7393890
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion src/DssSpell.sol
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ interface ChainlogLike {

interface DaiUsdsLike {
function daiToUsds(address usr, uint256 wad) external;
function usdsToDai(address usr, uint256 wad) external;
}

interface MkrSkyLike {
Expand Down
8 changes: 1 addition & 7 deletions src/DssSpell.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ interface L2TokenGatewaySpellLike {
function l2Gateway() external view returns (address);
}

interface PairLike {
function getReserves() external view returns (uint112, uint112, uint32);
function balanceOf(address) external view returns (uint256);
function totalSupply() external view returns (uint256);
}

contract DssSpellTest is DssSpellTestBase {
// DO NOT TOUCH THE FOLLOWING TESTS, THEY SHOULD BE RUN ON EVERY SPELL
function testGeneral() public {
Expand Down Expand Up @@ -1147,7 +1141,7 @@ contract DssSpellTest is DssSpellTestBase {
address immutable L2_USDS = arbitrum.addr("L2_USDS");
address immutable L2_SUSDS = arbitrum.addr("L2_SUSDS");
L2TokenGatewaySpellLike immutable L2_ARBITRUM_TOKEN_BRIDGE_SPELL = L2TokenGatewaySpellLike(arbitrum.addr("L2_TOKEN_BRIDGE_SPELL"));
PairLike immutable UNIV2_USDS_SKY = PairLike(addr.addr("UNIV2USDSSKY"));
GemAbstract immutable UNIV2_USDS_SKY = GemAbstract(addr.addr("UNIV2USDSSKY"));

function testArbitrumTokenGatewayIntegration() public {
_setupRootDomain();
Expand Down

0 comments on commit 7393890

Please sign in to comment.