Skip to content

Commit

Permalink
Merge pull request #465 from fei-protocol/feat/cleanup-scripts
Browse files Browse the repository at this point in the history
scripts cleanup
  • Loading branch information
Joeysantoro committed Jan 15, 2022
2 parents 69de1a0 + cc9c06e commit 26b4ee1
Show file tree
Hide file tree
Showing 64 changed files with 39 additions and 1,144 deletions.
248 changes: 0 additions & 248 deletions contracts/pcv/uniswap/PCVSwapperUniswap.sol

This file was deleted.

7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"files": [],
"scripts": {
"compile": "npx hardhat compile",
"coverage": "scripts/coverage.js",
"coverage:hardhat": "npx hardhat coverage",
"coverage": "npx hardhat coverage",
"console": "npx hardhat console",
"console:rinkeby": "npx hardhat console --network rinkeby",
"console:ropsten": "npx hardhat console --network ropsten",
Expand All @@ -27,9 +26,7 @@
"deploy:fuse": "DEPLOY_FILE=compoundPCVDeposit npx hardhat run --network mainnet scripts/deploy/migrations.ts",
"deploy:timelock": "DEPLOY_FILE=optimisticTimelockDeploy npx hardhat run --network mainnet scripts/deploy/migrations.ts",
"deploy:stw": "DEPLOY_FILE=deployStakedTokenWrapper npx hardhat run --network mainnet scripts/deploy/migrations.ts",
"deploy:ropsten": "npx hardhat run --network ropsten scripts/deploy/migrations.ts",
"deploy:rinkeby": "npx hardhat run --network rinkeby scripts/deploy/migrations.ts",
"abis": "node scripts/abis.js",
"abis": "node scripts/utils/abis.js",
"calldata": "npx hardhat run scripts/utils/getProposalCalldata.ts",
"check-proposal": "ENABLE_MAINNET_FORKING=true npx hardhat run scripts/utils/checkProposal.ts",
"prettier-format": "prettier --config .prettierrc './**/*.ts' --write",
Expand Down
2 changes: 1 addition & 1 deletion proposals/dao/fip_54.ts → proposals/dao/old/fip_54.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
SetupUpgradeFunc,
TeardownUpgradeFunc,
ValidateUpgradeFunc
} from '../../types/types';
} from '../../../types/types';

chai.use(CBN(ethers.BigNumber));

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
26 changes: 0 additions & 26 deletions scripts/coverage.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DeployUpgradeFunc } from '../../types/types';
import { DeployUpgradeFunc } from '../../../types/types';
import { ethers } from 'hardhat';

const fourDays = 4 * 24 * 60 * 60;
Expand Down
37 changes: 0 additions & 37 deletions scripts/sortAddresses.js

This file was deleted.

File renamed without changes.
22 changes: 1 addition & 21 deletions test/integration/proposals_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { ProposalCategory, ProposalsConfigMap } from '@custom-types/types';

// import fip_xx_proposal from '@proposals/description/fip_xx';

import fip_54 from '@proposals/description/fip_54';
import fip_60b from '@proposals/description/fip_60b';
import fip_60b from '@proposals/description/old/fip_60b';
import fip_63 from '@proposals/description/fip_63';
import fip_64 from '@proposals/description/fip_64';

Expand All @@ -16,25 +15,6 @@ const proposals: ProposalsConfigMap = {
proposal: fip_xx_proposal // full proposal file, imported from '@proposals/description/fip_xx.ts'
}
*/
fip_54: {
deploy: false,
proposalId: undefined,
affectedContractSignoff: [
'restrictedPermissions',
'fei',
'core',
'ethPSMFeiSkimmer',
'daiPSMFeiSkimmer',
'rariInfraTribeTimelock',
'rariInfraFeiTimelock',
'votiumBriberD3pool',
'opsOptimisticTimelock'
],
deprecatedContractSignoff: [],
category: ProposalCategory.DAO,
totalValue: 0,
proposal: fip_54
},
fip_60b: {
deploy: false,
proposalId: undefined,
Expand Down
Loading

0 comments on commit 26b4ee1

Please sign in to comment.