Skip to content

Commit 62f8434

Browse files
remove old contracts, update config json
1 parent 8234cbe commit 62f8434

4 files changed

Lines changed: 45 additions & 754 deletions

File tree

brownie-config.json

Lines changed: 45 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,55 @@
1+
// Brownie configuration file
2+
// https://eth-brownie.readthedocs.io/en/latest/config.html
13
{
2-
"network_defaults": {
3-
"name": "development",
4-
"persist": false,
5-
"gas_limit": 8000000,
6-
"gas_price": false
7-
},
8-
"networks": {
9-
"development": {
10-
"test-rpc": "ganache-cli -a 25 -m wallets --allowUnlimitedContractSize --gasLimit 8000000",
11-
"host": "http://127.0.0.1:8545",
12-
"broadcast_reverting_tx": true
4+
"network": {
5+
"default": "development", // the default network that brownie connects to
6+
"settings": {
7+
"broadcast_reverting_tx": false,
8+
"gas_limit": false,
9+
"gas_price": false
1310
},
14-
"ropsten": {
15-
"host": "https://ropsten.infura.io/",
16-
"persist": true
11+
"networks": { // any settings given here will replace the defaults
12+
"development": {
13+
"test_rpc": {
14+
"cmd": "ganache-cli",
15+
"port": 8545,
16+
"gas_limit": 6721975,
17+
"accounts": 10,
18+
"evm_version": "petersburg",
19+
"mnemonic": "brownie"
20+
},
21+
"host": "http://127.0.0.1",
22+
"broadcast_reverting_tx": true
23+
},
24+
// replace INFURA_PROJECT_ID with your personal API token
25+
"goerli": {
26+
"host": "https://goerli.infura.io/v3/INFURA_PROJECT_ID"
27+
},
28+
"kovan": {
29+
"host": "https://kovan.infura.io/v3/INFURA_PROJECT_ID"
30+
},
31+
"rinkeby": {
32+
"host": "https://rinkeby.infura.io/v3/INFURA_PROJECT_ID"
33+
},
34+
"ropsten": {
35+
"host": "https://ropsten.infura.io/v3/INFURA_PROJECT_ID"
36+
}
1737
}
1838
},
19-
"test": {
20-
"broadcast_reverting_tx": true,
21-
"gas_limit": 8000000,
39+
"pytest": { // these settings replace the defaults when running pytest
40+
"gas_limit": 6721975,
2241
"default_contract_owner": false,
42+
"broadcast_reverting_tx": true,
2343
"revert_traceback": false
2444
},
25-
"solc": {
26-
"optimize": true,
27-
"runs": 200,
28-
"version": "0.4.25",
29-
"minify_source": false
45+
"compiler": {
46+
"solc": {
47+
"version": null,
48+
"evm_version": null,
49+
"optimize": true,
50+
"runs": 200,
51+
"minify_source": false
52+
}
3053
},
3154
"colors": {
3255
"key": "",

0 commit comments

Comments
 (0)