Skip to content

Commit 16367d1

Browse files
committed
Remove truffle files from project
1 parent 26898c1 commit 16367d1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+54
-2981
lines changed

.circleci/config.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ jobs:
2727
name: Delete any old node_modules
2828
command: |
2929
rm -rf node_modules/
30-
- run:
31-
name: Install truffle (globally)
32-
command: |
33-
sudo npm install -g truffle
3430
- run:
3531
name: Install dependencies
3632
command: |
@@ -54,23 +50,6 @@ jobs:
5450
name: Zeppelin E2E
5551
command: |
5652
./scripts/run-zeppelin.sh
57-
e2e-metacoin:
58-
machine: true
59-
steps:
60-
- checkout
61-
- <<: *step_install_nvm
62-
- run:
63-
name: MetaCoin E2E
64-
command: |
65-
./scripts/run-metacoin.sh
66-
e2e-metacoin-windows:
67-
executor: win/default
68-
steps:
69-
- checkout
70-
- run:
71-
name: Windows Metacoin E2E
72-
command: |
73-
bash ./scripts/run-metacoin.sh
7453
e2e-nomiclabs:
7554
machine: true
7655
steps:
@@ -86,6 +65,4 @@ workflows:
8665
jobs:
8766
- unit-test
8867
- e2e-zeppelin
89-
- e2e-metacoin
90-
- e2e-metacoin-windows
9168
- e2e-nomiclabs

lib/ui.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const emoji = require('node-emoji');
44
/**
55
* Coverage tool output formatters. These classes support any the logging solidity-coverage API
66
* (or plugins which consume it) do on their own behalf. NB, most output is generated by the host
7-
* dev stack (ex: the truffle compile command, or istanbul).
7+
* dev stack (ex: the hardhat compile command, or istanbul).
88
*/
99
class UI {
1010
constructor(log){
@@ -76,7 +76,7 @@ class AppUI extends UI {
7676
'command': `\n${w} ${c.red.bold('solidity-coverage >= 0.7.0 is no longer a shell command.')} ${w}\n` +
7777
`${c.bold('=============================================================')}\n\n` +
7878
`Instead, you should use the plugin produced for your development stack\n` +
79-
`(like Truffle, Buidler) or design a custom workflow using the package API\n\n` +
79+
`(like Hardhat) or design a custom workflow using the package API\n\n` +
8080
`> See https://github.com/sc-forks/solidity-coverage for help with configuration.\n\n` +
8181
`${c.green.bold('Thanks! - sc-forks')}\n`,
8282
};

package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"dependencies": {
2727
"@ethersproject/abi": "^5.0.9",
2828
"@solidity-parser/parser": "^0.14.1",
29-
"@truffle/provider": "^0.2.24",
3029
"chalk": "^2.4.2",
3130
"death": "^1.1.0",
3231
"detect-port": "^1.3.0",
@@ -51,8 +50,7 @@
5150
"@nomiclabs/hardhat-truffle5": "^2.0.0",
5251
"@nomiclabs/hardhat-waffle": "^2.0.1",
5352
"@nomiclabs/hardhat-web3": "^2.0.0",
54-
"@truffle/contract": "^4.0.36",
55-
"buidler-gas-reporter": "^0.1.3",
53+
"@truffle/contract": "4.0.36",
5654
"chai": "^4.3.4",
5755
"decache": "^4.5.1",
5856
"ethereum-waffle": "^3.4.0",
@@ -61,8 +59,6 @@
6159
"hardhat": "^2.9.3",
6260
"hardhat-gas-reporter": "^1.0.1",
6361
"nyc": "^14.1.1",
64-
"solc": "^0.7.5",
65-
"truffle": "5.1.43",
66-
"truffle-config": "^1.1.18"
62+
"solc": "^0.7.5"
6763
}
6864
}

plugins/resources/plugin.utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* of composing a workflow using the solidity-coverage API
44
*/
55

6-
const PluginUI = require('./truffle.ui');
6+
const PluginUI = require('./plugin.ui');
77

88
const path = require('path');
99
const fs = require('fs-extra');

plugins/resources/truffle.ui.js

Lines changed: 0 additions & 102 deletions
This file was deleted.

0 commit comments

Comments
 (0)