Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgoth committed Oct 6, 2021
1 parent c46436b commit e1abaa1
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 23 deletions.
6 changes: 2 additions & 4 deletions packages/dai-plugin-liquidations/contracts/contract-info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"chief": {
"inception_block": {
"mainnet": "0x487813",
"kovan": "0x649575",
"goerli": "0x649575"
"kovan": "0x649575"
},
"events": {
"etch": "0x4f0892983790f53eea39a7a496f6cb40e8811b313871337b6a761efc6c67bb1f",
Expand All @@ -16,8 +15,7 @@
"pause": {
"inception_block": {
"mainnet": "8928171",
"kovan": "14764552",
"goerli": "14764552"
"kovan": "14764552"
},
"events": {
"exec": "0x168ccd6700000000000000000000000000000000000000000000000000000000",
Expand Down
2 changes: 0 additions & 2 deletions packages/dai-plugin-migrations/src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { createCurrency } from '@makerdao/currency';
import testnetAddresses from '../contracts/addresses/testnet.json';
import kovanAddresses from '../contracts/addresses/kovan.json';
import goerliAddresses from '../contracts/addresses/goerli.json';
import mainnetAddresses from '../contracts/addresses/mainnet.json';
import abiMap from '../contracts/abiMap';
import MigrationService from './MigrationService';
Expand All @@ -20,7 +19,6 @@ const allContracts = Object.entries(testnetAddresses).reduce(
address: {
testnet: testnetAddress,
kovan: kovanAddresses[name],
goerli: goerliAddresses[name],
mainnet: mainnetAddresses[name]
}
};
Expand Down
15 changes: 0 additions & 15 deletions packages/dai/scripts/repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,6 @@ const env = {
}
}
},
goerli: {
// TODO update for goerli
fromBlock: 4750000,
config: {
url: 'https://kovan.infura.io/v3/c3f0f26a4c1742e0949d8eedfc47be67',
privateKey: process.env.KOVAN_PRIVATE_KEY,
smartContract: { addressOverrides },
token: {
addressOverrides: {
PETH: addressOverrides.SAI_SKR,
DAI: addressOverrides.SAI_SAI
}
}
}
},
mainnet: {
config: {
fromBlock: 4750000,
Expand Down
1 change: 0 additions & 1 deletion packages/dai/src/Maker.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ function mergeOptions(object, source) {
}

Maker.create = async function(...args) {
console.log({ args });
const [preset, options = {}] = args;
const { plugins, ...otherOptions } = options;

Expand Down
2 changes: 1 addition & 1 deletion packages/dai/test/helpers/serviceBuilders.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const kovanProviderConfig = {
export const goerliProviderConfig = {
// TODO update for goerli
web3: {
privateKey: process.env.KOVAN_PRIVATE_KEY,
privateKey: process.env.GOERLI_PRIVATE_KEY,
provider: {
type: ProviderType.INFURA,
network: 'kovan',
Expand Down

0 comments on commit e1abaa1

Please sign in to comment.