Skip to content

Commit

Permalink
Small cleanup (compound-finance#439)
Browse files Browse the repository at this point in the history
This PR removes some outdated XXXs and fills in the license for some test contracts.
  • Loading branch information
kevincheng96 authored Jun 28, 2022
1 parent 6d7daf5 commit 5a48a5f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion contracts/ConfiguratorProxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ contract ConfiguratorProxy is TransparentUpgradeableProxy {
*/
constructor(address _logic, address _admin, bytes memory _data) payable TransparentUpgradeableProxy(_logic, _admin, _data) {}

// XXX triple check!
/**
* @dev Overrides the TransparentUpgradeableProxy's _beforeFallback so admin can call the implementation.
*/
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/EvilToken.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: XXX
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.15;

import "./../ERC20.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/FaucetToken.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: XXX
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.15;

/**
Expand Down
2 changes: 1 addition & 1 deletion contracts/test/FaucetWETH.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: XXX
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.15;

import "../vendor/canonical-weth/contracts/WETH9.sol";
Expand Down
4 changes: 2 additions & 2 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ function setupDefaultNetworkProviders(hardhatConfig: HardhatUserConfig) {
accounts: ETH_PK
? [ETH_PK]
: {
mnemonic: MNEMONIC,
},
mnemonic: MNEMONIC,
},
};
}
}
Expand Down
1 change: 0 additions & 1 deletion plugins/scenario/utils/TokenSourcer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ async function removeTokens(
});
}

// XXX make sure we don't source tokens directly from the protocol
async function addTokens(
hre: HardhatRuntimeEnvironment,
amount: BigNumber,
Expand Down

0 comments on commit 5a48a5f

Please sign in to comment.