Skip to content

Commit eefb76d

Browse files
committed
added depdencies
1 parent 7889425 commit eefb76d

File tree

3 files changed

+49
-50
lines changed

3 files changed

+49
-50
lines changed

.eslintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ module.exports = {
101101
'Utf8Bytes',
102102
'keccak256',
103103
'Sighash',
104+
'hre',
105+
'ecsign',
104106

105107
// shorthand
106108
'eth',
@@ -175,6 +177,7 @@ module.exports = {
175177
'rebasing',
176178
'depositer',
177179
'coinmarketcap',
180+
'nonces',
178181

179182
// names
180183
'nithin',

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"repository": "https://github.com/ampleforth/ampl-chainbridge",
66
"author": "[email protected]",
77
"scripts": {
8-
"compile": "yarn hardhat compile",
8+
"compile": "rm -rf artifacts && yarn hardhat compile",
99
"coverage": "yarn hardhat coverage --testfiles 'test/unit/**/*.js'",
1010
"format": "yarn prettier --config .prettierrc --write '**/*.js' 'contracts/**/*.sol'",
1111
"lint": "yarn solhint 'contracts/**/*.sol' && yarn eslint ./test *.js --cache --fix",
@@ -27,7 +27,7 @@
2727
"devDependencies": {
2828
"@nomiclabs/hardhat-ethers": "^2.0.1",
2929
"@nomiclabs/hardhat-ganache": "^2.0.0",
30-
"@nomiclabs/hardhat-waffle": "^2.0.0",
30+
"@nomiclabs/hardhat-waffle": "^2.0.1",
3131
"@openzeppelin/hardhat-upgrades": "^1.4.3",
3232
"@types/chai": "^4.2.12",
3333
"@types/mocha": "^8.0.3",
@@ -47,7 +47,7 @@
4747
"eslint-plugin-spellcheck": "0.0.10",
4848
"eslint-plugin-standard": "^1.3.3",
4949
"ethereum-waffle": "^3.2.1",
50-
"ethers": "^5.0.13",
50+
"ethers": "5.0.18",
5151
"hardhat": "^2.0.7",
5252
"hardhat-gas-reporter": "^1.0.3",
5353
"pre-commit": "^1.2.2",

yarn.lock

Lines changed: 43 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -461,10 +461,10 @@
461461
bech32 "1.1.4"
462462
ws "7.2.3"
463463

464-
"@ethersproject/[email protected].14":
465-
version "5.0.14"
466-
resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.0.14.tgz#751ccb14b4a8c8e9e4be171818c23f4601be90ba"
467-
integrity sha512-K9QRRkkHWyprm3g4L8U9aPx5uyivznL4RYemkN2shCQumyGqFJ5SO+OtQrgebVm0JpGwFAUGugnhRUh49sjErw==
464+
"@ethersproject/[email protected].13":
465+
version "5.0.13"
466+
resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.0.13.tgz#1ec39e544353e1090803955ba6a1920ee942d6ab"
467+
integrity sha512-5jsuk1FwXxmoQApGs8LSQyS43KP01pHA+6cQ1OPov5pT5Pcqe6ffh6UD1//BZ9Vjf+5e9AQqIk8w7FkGyROuCA==
468468
dependencies:
469469
"@ethersproject/abstract-provider" "^5.0.4"
470470
"@ethersproject/abstract-signer" "^5.0.4"
@@ -628,10 +628,10 @@
628628
"@ethersproject/transactions" "^5.0.5"
629629
"@ethersproject/wordlists" "^5.0.4"
630630

631-
"@ethersproject/[email protected].7":
632-
version "5.0.7"
633-
resolved "https://registry.yarnpkg.com/@ethersproject/wallet/-/wallet-5.0.7.tgz#9d4540f97d534e3d61548ace30f15857209b3f02"
634-
integrity sha512-n2GX1+2Tc0qV8dguUcLkjNugINKvZY7u/5fEsn0skW9rz5+jHTR5IKMV6jSfXA+WjQT8UCNMvkI3CNcdhaPbTQ==
631+
"@ethersproject/[email protected].6":
632+
version "5.0.6"
633+
resolved "https://registry.yarnpkg.com/@ethersproject/wallet/-/wallet-5.0.6.tgz#8a3f7556a614b54c24f729b2dac893a66b931ac9"
634+
integrity sha512-dRqx3+Degc5pvjaeeTHuk2EuTRM3b6ce/TiV0HRZhRXYnKyyjg0iYXEZo/b6p3rnV+Xhwxkc0+I/ISPkNpictA==
635635
dependencies:
636636
"@ethersproject/abstract-provider" "^5.0.4"
637637
"@ethersproject/abstract-signer" "^5.0.4"
@@ -738,19 +738,14 @@
738738
ganache-core "^2.7.0"
739739
ts-interface-checker "^0.1.9"
740740

741-
"@nomiclabs/hardhat-waffle@^2.0.0":
741+
"@nomiclabs/hardhat-waffle@^2.0.1":
742742
version "2.0.1"
743743
resolved "https://registry.yarnpkg.com/@nomiclabs/hardhat-waffle/-/hardhat-waffle-2.0.1.tgz#5d43654fba780720c5033dea240fe14f70ef4bd2"
744744
integrity sha512-2YR2V5zTiztSH9n8BYWgtv3Q+EL0N5Ltm1PAr5z20uAY4SkkfylJ98CIqt18XFvxTD5x4K2wKBzddjV9ViDAZQ==
745745
dependencies:
746746
"@types/sinon-chai" "^3.2.3"
747747
"@types/web3" "1.0.19"
748748

749-
"@openzeppelin/contracts-ethereum-package@^3.0.0":
750-
version "3.0.0"
751-
resolved "https://registry.yarnpkg.com/@openzeppelin/contracts-ethereum-package/-/contracts-ethereum-package-3.0.0.tgz#d5db971a177c3b37733db2ee4ebdb79c67575d64"
752-
integrity sha512-Xg33RtX7FGbSK/YnroLhcGNAvH30/C84NRW8KvbSdXXYiLA8YqM1bOA9sAeLjmQxXqYUn/YL4AUVTgDnG51NOw==
753-
754749
"@openzeppelin/contracts-upgradeable@^3.3.0":
755750
version "3.3.0"
756751
resolved "https://registry.yarnpkg.com/@openzeppelin/contracts-upgradeable/-/contracts-upgradeable-3.3.0.tgz#a536c6ff107d21319490e6cb699e555a3edcf6ea"
@@ -4076,45 +4071,30 @@ [email protected], ethereumjs-wallet@^0.6.2:
40764071
utf8 "^3.0.0"
40774072
uuid "^3.3.2"
40784073

4079-
ethers@^4.0.32, ethers@^4.0.40:
4080-
version "4.0.48"
4081-
resolved "https://registry.yarnpkg.com/ethers/-/ethers-4.0.48.tgz#330c65b8133e112b0613156e57e92d9009d8fbbe"
4082-
integrity sha512-sZD5K8H28dOrcidzx9f8KYh8083n5BexIO3+SbE4jK83L85FxtpXZBCQdXb8gkg+7sBqomcLhhkU7UHL+F7I2g==
4083-
dependencies:
4084-
aes-js "3.0.0"
4085-
bn.js "^4.4.0"
4086-
elliptic "6.5.3"
4087-
hash.js "1.1.3"
4088-
js-sha3 "0.5.7"
4089-
scrypt-js "2.0.4"
4090-
setimmediate "1.0.4"
4091-
uuid "2.0.1"
4092-
xmlhttprequest "1.8.0"
4093-
4094-
ethers@^5.0.0, ethers@^5.0.1:
4095-
version "5.0.17"
4096-
resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.0.17.tgz#35dea41f1d09d31f80e0bb4c03cb633cd6673756"
4097-
integrity sha512-E0MrwCttHgdD6Irfa0B9cNdX0VoWVWLusaj51+EQalkl3pqhV2zGMPncfhYbc9+4nD2u81dbX8Pk9UN5kh/jew==
4074+
4075+
version "5.0.18"
4076+
resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.0.18.tgz#2ccf382d32b9712e6967d0b14303cb0fe8056c7a"
4077+
integrity sha512-WCiKGfAt09hBS1HZspu+JTgeunFcUCVRhCXO8X+VadBJGTRlG722XXib79Vz2oyBperz90CcjkBPdNly61Ah4A==
40984078
dependencies:
40994079
"@ethersproject/abi" "5.0.7"
41004080
"@ethersproject/abstract-provider" "5.0.5"
4101-
"@ethersproject/abstract-signer" "5.0.6"
4081+
"@ethersproject/abstract-signer" "5.0.7"
41024082
"@ethersproject/address" "5.0.5"
41034083
"@ethersproject/base64" "5.0.4"
41044084
"@ethersproject/basex" "5.0.4"
41054085
"@ethersproject/bignumber" "5.0.8"
41064086
"@ethersproject/bytes" "5.0.5"
41074087
"@ethersproject/constants" "5.0.5"
41084088
"@ethersproject/contracts" "5.0.5"
4109-
"@ethersproject/hash" "5.0.5"
4089+
"@ethersproject/hash" "5.0.6"
41104090
"@ethersproject/hdnode" "5.0.5"
41114091
"@ethersproject/json-wallets" "5.0.7"
41124092
"@ethersproject/keccak256" "5.0.4"
41134093
"@ethersproject/logger" "5.0.6"
41144094
"@ethersproject/networks" "5.0.4"
41154095
"@ethersproject/pbkdf2" "5.0.4"
41164096
"@ethersproject/properties" "5.0.4"
4117-
"@ethersproject/providers" "5.0.12"
4097+
"@ethersproject/providers" "5.0.13"
41184098
"@ethersproject/random" "5.0.4"
41194099
"@ethersproject/rlp" "5.0.4"
41204100
"@ethersproject/sha2" "5.0.4"
@@ -4123,34 +4103,49 @@ ethers@^5.0.0, ethers@^5.0.1:
41234103
"@ethersproject/strings" "5.0.5"
41244104
"@ethersproject/transactions" "5.0.6"
41254105
"@ethersproject/units" "5.0.6"
4126-
"@ethersproject/wallet" "5.0.5"
4106+
"@ethersproject/wallet" "5.0.6"
41274107
"@ethersproject/web" "5.0.9"
41284108
"@ethersproject/wordlists" "5.0.5"
41294109

4130-
ethers@^5.0.13:
4131-
version "5.0.19"
4132-
resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.0.19.tgz#a4636f62a180135b13fd1f0a393477beafd535b7"
4133-
integrity sha512-0AZnUgZh98q888WAd1oI3aLeI+iyDtrupjANVtPPS7O63lVopkR/No8A1NqSkgl/rU+b2iuu2mUZor6GD4RG2w==
4110+
ethers@^4.0.32, ethers@^4.0.40:
4111+
version "4.0.48"
4112+
resolved "https://registry.yarnpkg.com/ethers/-/ethers-4.0.48.tgz#330c65b8133e112b0613156e57e92d9009d8fbbe"
4113+
integrity sha512-sZD5K8H28dOrcidzx9f8KYh8083n5BexIO3+SbE4jK83L85FxtpXZBCQdXb8gkg+7sBqomcLhhkU7UHL+F7I2g==
4114+
dependencies:
4115+
aes-js "3.0.0"
4116+
bn.js "^4.4.0"
4117+
elliptic "6.5.3"
4118+
hash.js "1.1.3"
4119+
js-sha3 "0.5.7"
4120+
scrypt-js "2.0.4"
4121+
setimmediate "1.0.4"
4122+
uuid "2.0.1"
4123+
xmlhttprequest "1.8.0"
4124+
4125+
ethers@^5.0.0, ethers@^5.0.1:
4126+
version "5.0.17"
4127+
resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.0.17.tgz#35dea41f1d09d31f80e0bb4c03cb633cd6673756"
4128+
integrity sha512-E0MrwCttHgdD6Irfa0B9cNdX0VoWVWLusaj51+EQalkl3pqhV2zGMPncfhYbc9+4nD2u81dbX8Pk9UN5kh/jew==
41344129
dependencies:
41354130
"@ethersproject/abi" "5.0.7"
41364131
"@ethersproject/abstract-provider" "5.0.5"
4137-
"@ethersproject/abstract-signer" "5.0.7"
4132+
"@ethersproject/abstract-signer" "5.0.6"
41384133
"@ethersproject/address" "5.0.5"
41394134
"@ethersproject/base64" "5.0.4"
41404135
"@ethersproject/basex" "5.0.4"
41414136
"@ethersproject/bignumber" "5.0.8"
41424137
"@ethersproject/bytes" "5.0.5"
41434138
"@ethersproject/constants" "5.0.5"
41444139
"@ethersproject/contracts" "5.0.5"
4145-
"@ethersproject/hash" "5.0.6"
4140+
"@ethersproject/hash" "5.0.5"
41464141
"@ethersproject/hdnode" "5.0.5"
41474142
"@ethersproject/json-wallets" "5.0.7"
41484143
"@ethersproject/keccak256" "5.0.4"
41494144
"@ethersproject/logger" "5.0.6"
41504145
"@ethersproject/networks" "5.0.4"
41514146
"@ethersproject/pbkdf2" "5.0.4"
41524147
"@ethersproject/properties" "5.0.4"
4153-
"@ethersproject/providers" "5.0.14"
4148+
"@ethersproject/providers" "5.0.12"
41544149
"@ethersproject/random" "5.0.4"
41554150
"@ethersproject/rlp" "5.0.4"
41564151
"@ethersproject/sha2" "5.0.4"
@@ -4159,7 +4154,7 @@ ethers@^5.0.13:
41594154
"@ethersproject/strings" "5.0.5"
41604155
"@ethersproject/transactions" "5.0.6"
41614156
"@ethersproject/units" "5.0.6"
4162-
"@ethersproject/wallet" "5.0.7"
4157+
"@ethersproject/wallet" "5.0.5"
41634158
"@ethersproject/web" "5.0.9"
41644159
"@ethersproject/wordlists" "5.0.5"
41654160

@@ -4988,7 +4983,7 @@ har-validator@~5.1.3:
49884983
ajv "^6.12.3"
49894984
har-schema "^2.0.0"
49904985

4991-
hardhat-gas-reporter@^1.0.3:
4986+
hardhat-gas-reporter@^1.0.3, hardhat-gas-reporter@^1.0.4:
49924987
version "1.0.4"
49934988
resolved "https://registry.yarnpkg.com/hardhat-gas-reporter/-/hardhat-gas-reporter-1.0.4.tgz#59e3137e38e0dfeac2e4f90d5c74160b50ad4829"
49944989
integrity sha512-G376zKh81G3K9WtDA+SoTLWsoygikH++tD1E7llx+X7J+GbIqfwhDKKgvJjcnEesMrtR9UqQHK02lJuXY1RTxw==
@@ -9065,8 +9060,9 @@ typewiselite@~1.0.0:
90659060

90669061
"uFragments@https://github.com/ampleforth/uFragments#master":
90679062
version "0.0.1"
9068-
resolved "https://github.com/ampleforth/uFragments#aa041bc39cf03498a4ee1c20524a9cebca059069"
9063+
resolved "https://github.com/ampleforth/uFragments#6dde1cc08bc2febcf1b6b51e414727a35b66d11f"
90699064
dependencies:
9065+
hardhat-gas-reporter "^1.0.4"
90709066
openzeppelin-eth "2.0.2-standalone"
90719067

90729068
uglify-js@^3.1.4:

0 commit comments

Comments
 (0)