Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

Commit

Permalink
Enable buidler-gas-reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-es committed Oct 14, 2020
1 parent d4c3262 commit 50a3ccd
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 14 deletions.
8 changes: 6 additions & 2 deletions packages/ap-contracts/buidler.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ const { TASK_COMPILE_GET_COMPILER_INPUT } = require('@nomiclabs/buidler/builtin-
usePlugin('@nomiclabs/buidler-web3');
usePlugin('solidity-coverage');
usePlugin("buidler-deploy");
// usePlugin('buidler-gas-reporter');
usePlugin('buidler-gas-reporter');


task(TASK_COMPILE_GET_COMPILER_INPUT).setAction(async (_, __, runSuper) => {
const input = await runSuper();
Expand Down Expand Up @@ -89,5 +90,8 @@ module.exports = {
runs: 200
}
},
// gasReporter: {}
gasReporter: {
currency: 'CHF',
gasPrice: 90
}
};
3 changes: 1 addition & 2 deletions packages/ap-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@
"devDependencies": {
"actus-dictionary": "https://github.com/actusfrf/actus-dictionary.git",
"bignumber.js": "^7.2.1",
"buidler-gas-reporter": "^0.1.3",
"buidler-gas-reporter": "^0.1.4",
"coveralls": "^3.0.9",
"eth-gas-reporter": "^0.2.17",
"ethlint": "^1.2.5",
"ganache-cli": "^6.4.3",
"openzeppelin-test-helpers": "^0.1.2",
Expand Down
25 changes: 15 additions & 10 deletions packages/ap-contracts/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,11 @@
resolved "https://registry.yarnpkg.com/@solidity-parser/parser/-/parser-0.6.2.tgz#49707fc4e06649d39d6b25bdab2e9093d372ce50"
integrity sha512-kUVUvrqttndeprLoXjI5arWHeiP3uh4XODAKbG+ZaWHCVQeelxCbnXBeWxZ2BPHdXgH0xR9dU1b916JhDhbgAA==

"@solidity-parser/parser@^0.8.0":
version "0.8.1"
resolved "https://registry.yarnpkg.com/@solidity-parser/parser/-/parser-0.8.1.tgz#1b606578af86b9ad10755409804a6ba83f9ce8a4"
integrity sha512-DF7H6T8I4lo2IZOE2NZwt3631T8j1gjpQLjmvY2xBNK50c4ltslR4XPKwT6RkeSd4+xCAK0GHC/k7sbRDBE4Yw==

"@szmarczak/http-timer@^1.1.2":
version "1.1.2"
resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421"
Expand Down Expand Up @@ -1547,12 +1552,12 @@ buidler-deploy@^0.5.11:
match-all "^1.2.6"
qs "^6.9.4"

buidler-gas-reporter@^0.1.3:
version "0.1.3"
resolved "https://registry.yarnpkg.com/buidler-gas-reporter/-/buidler-gas-reporter-0.1.3.tgz#1c18d37e44391cd9a2907fe1820941fcaab18d76"
integrity sha512-3Q27K52iGEghJ4icDdkV/67iJiRCaiZ39E2LLCBNZgx5NvltI5Q7oR3RVyCGO/m3SZBcj418zC8p7yeyj/jFdw==
buidler-gas-reporter@^0.1.4:
version "0.1.4"
resolved "https://registry.yarnpkg.com/buidler-gas-reporter/-/buidler-gas-reporter-0.1.4.tgz#912108192e91360deb3f79b3840d0f50c35b4f08"
integrity sha512-objSu/tGggxKDmlpZViM9uEKRSo7vXxBsPv+vXegre1AWapJXQNfJPtBmrNvnT5Ixl8pecWSRXsfO95nJAn4yw==
dependencies:
eth-gas-reporter "^0.2.13"
eth-gas-reporter "^0.2.18"

bytes@3.1.0:
version "3.1.0"
Expand Down Expand Up @@ -2718,13 +2723,13 @@ eth-ens-namehash@2.0.8:
idna-uts46-hx "^2.3.1"
js-sha3 "^0.5.7"

eth-gas-reporter@^0.2.13, eth-gas-reporter@^0.2.17:
version "0.2.17"
resolved "https://registry.yarnpkg.com/eth-gas-reporter/-/eth-gas-reporter-0.2.17.tgz#3ff12ae0235d97b429bcad3a1b05ce4d1a91d9be"
integrity sha512-MsrUqeXTAFU9QEdAIdaVu+QeU1XwFsKvPDEC68iheppVR5xUP11h4SyPhSRZiGfOzXr1CfTtPM/B6wPGtt7/LA==
eth-gas-reporter@^0.2.18:
version "0.2.18"
resolved "https://registry.yarnpkg.com/eth-gas-reporter/-/eth-gas-reporter-0.2.18.tgz#6b7dd40628d073109ea6439f652a8d41b259ce7d"
integrity sha512-P6LQ1QmU9bqU4zmd01Ws/b2EWAD5rT771U0wyJ/c+fKE6RdE9ks8KzjdR1zjosV2uilMfqVTtrBrXveCOnaTyQ==
dependencies:
"@ethersproject/abi" "^5.0.0-beta.146"
"@solidity-parser/parser" "^0.5.2"
"@solidity-parser/parser" "^0.8.0"
cli-table3 "^0.5.0"
colors "^1.1.2"
ethereumjs-util "6.2.0"
Expand Down

0 comments on commit 50a3ccd

Please sign in to comment.