Skip to content

Commit 7ce87c1

Browse files
improve: secp256k1 version (#785)
* improve: secp256k1 * chore: bump version Signed-off-by: james-a-morris <[email protected]> --------- Signed-off-by: james-a-morris <[email protected]>
1 parent 3dcc325 commit 7ce87c1

File tree

2 files changed

+90
-29
lines changed

2 files changed

+90
-29
lines changed

package.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@across-protocol/contracts",
3-
"version": "3.0.16",
3+
"version": "3.0.17",
44
"author": "UMA Team",
55
"license": "AGPL-3.0-only",
66
"repository": {
@@ -53,9 +53,9 @@
5353
"@solana/spl-token": "^0.4.6",
5454
"@solana/web3.js": "^1.31.0",
5555
"@types/yargs": "^17.0.33",
56-
"@uma/common": "^2.34.0",
56+
"@uma/common": "^2.37.3",
5757
"@uma/contracts-node": "^0.4.17",
58-
"@uma/core": "^2.56.0",
58+
"@uma/core": "^2.61.0",
5959
"axios": "^1.7.4",
6060
"bs58": "^6.0.0",
6161
"prettier-plugin-rust": "^0.1.9",
@@ -121,5 +121,14 @@
121121
"publishConfig": {
122122
"registry": "https://registry.npmjs.com/",
123123
"access": "public"
124+
},
125+
"overrides": {
126+
"[email protected]": "3.8.1",
127+
"[email protected]": "4.0.4",
128+
"[email protected]": "5.0.1"
129+
},
130+
"resolutions": {
131+
"**/eccrypto/secp256k1": "3.8.1",
132+
"**/eth-crypto/secp256k1": "5.0.1"
124133
}
125134
}

yarn.lock

Lines changed: 78 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3328,12 +3328,53 @@
33283328
web3 "^1.6.0"
33293329
winston "^3.2.1"
33303330

3331+
"@uma/common@^2.37.3":
3332+
version "2.37.3"
3333+
resolved "https://registry.yarnpkg.com/@uma/common/-/common-2.37.3.tgz#0d7fda1227e3a05563544bb36f418a790c81129d"
3334+
integrity sha512-DLcM2xtiFWDbty21r2gsL6AJbOc8G/CMqg0iMxssvkKbz8varsWS44zJF85XGxMlY8fE40w0ZS8MR92xpbsu4g==
3335+
dependencies:
3336+
"@across-protocol/contracts" "^0.1.4"
3337+
"@ethersproject/address" "^5.7.0"
3338+
"@ethersproject/bignumber" "^5.0.5"
3339+
"@ethersproject/bytes" "^5.7.0"
3340+
"@ethersproject/constants" "^5.7.0"
3341+
"@google-cloud/kms" "^3.0.1"
3342+
"@google-cloud/storage" "^6.4.2"
3343+
"@nomicfoundation/hardhat-verify" "^1.0.4"
3344+
"@nomiclabs/hardhat-ethers" "^2.2.1"
3345+
"@nomiclabs/hardhat-web3" "^2.0.0"
3346+
"@truffle/contract" "4.6.17"
3347+
"@truffle/hdwallet-provider" eip1559-beta
3348+
"@types/ethereum-protocol" "^1.0.0"
3349+
"@uniswap/v3-core" "^1.0.0-rc.2"
3350+
abi-decoder "github:UMAprotocol/abi-decoder"
3351+
async-retry "^1.3.3"
3352+
axios "^1.6.1"
3353+
bignumber.js "^8.0.1"
3354+
chalk-pipe "^3.0.0"
3355+
decimal.js "^10.2.1"
3356+
dotenv "^9.0.0"
3357+
eth-crypto "^2.4.0"
3358+
hardhat-deploy "0.9.1"
3359+
hardhat-gas-reporter "^1.0.4"
3360+
hardhat-typechain "^0.3.5"
3361+
lodash.uniqby "^4.7.0"
3362+
minimist "^1.2.0"
3363+
moment "^2.24.0"
3364+
node-fetch "^2.6.0"
3365+
node-metamask "github:UMAprotocol/node-metamask"
3366+
require-context "^1.1.0"
3367+
solidity-coverage "^0.7.13"
3368+
truffle-deploy-registry "^0.5.1"
3369+
web3 "^1.6.0"
3370+
winston "^3.2.1"
3371+
33313372
"@uma/contracts-node@^0.4.0", "@uma/contracts-node@^0.4.17":
33323373
version "0.4.17"
33333374
resolved "https://registry.yarnpkg.com/@uma/contracts-node/-/contracts-node-0.4.17.tgz#6abd815723c8344017eb5c302f6a5b0b690eeb4e"
33343375
integrity sha512-e7cVJr3yhKrPZn1TAo/CCOt+QacJON6Mj71lcwHq/rnx+tgjujK2MsOhihytmb79ejPTKg1b5+2GIDL02ttrrQ==
33353376

3336-
"@uma/core@^2.18.0", "@uma/core@^2.56.0":
3377+
"@uma/core@^2.18.0":
33373378
version "2.56.0"
33383379
resolved "https://registry.yarnpkg.com/@uma/core/-/core-2.56.0.tgz#c19aa427f08691a85e99ec523d23abf359a6b0c3"
33393380
integrity sha512-unylWwHeD/1mYcj1t2UPVgj1V+ceBLSo/BcYKgZyyBIHYAkC6bOx4egV/2NrhWPt3sX5CZFG1I1kMAqgp245tQ==
@@ -3350,6 +3391,22 @@
33503391
"@uniswap/v3-core" "^1.0.0-rc.2"
33513392
"@uniswap/v3-periphery" "^1.0.0-beta.23"
33523393

3394+
"@uma/core@^2.61.0":
3395+
version "2.61.0"
3396+
resolved "https://registry.yarnpkg.com/@uma/core/-/core-2.61.0.tgz#29580736349a47af8fb10beb4bb3b50bfcf912f5"
3397+
integrity sha512-bnk+CWW+uWpRilrgUny/gDXHKomG+h1Ug84OXdx+AAvj1/BtlMDOCNNt1OX8LSAz+a0hkiN9s24/zgHclTC/sg==
3398+
dependencies:
3399+
"@gnosis.pm/safe-contracts" "^1.3.0"
3400+
"@gnosis.pm/zodiac" "3.2.0"
3401+
"@maticnetwork/fx-portal" "^1.0.4"
3402+
"@openzeppelin/contracts" "4.9.6"
3403+
"@uma/common" "^2.37.3"
3404+
"@uniswap/lib" "4.0.1-alpha"
3405+
"@uniswap/v2-core" "1.0.0"
3406+
"@uniswap/v2-periphery" "1.1.0-beta.0"
3407+
"@uniswap/v3-core" "^1.0.0-rc.2"
3408+
"@uniswap/v3-periphery" "^1.0.0-beta.23"
3409+
33533410
"@uma/merkle-distributor@^1.3.38":
33543411
version "1.3.40"
33553412
resolved "https://registry.yarnpkg.com/@uma/merkle-distributor/-/merkle-distributor-1.3.40.tgz#70ba0ebf0fe923851786396bcb9a59a5a931127b"
@@ -4018,6 +4075,15 @@ axios@^1.4.0, axios@^1.7.4:
40184075
form-data "^4.0.0"
40194076
proxy-from-env "^1.1.0"
40204077

4078+
axios@^1.6.1:
4079+
version "1.7.8"
4080+
resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.8.tgz#1997b1496b394c21953e68c14aaa51b7b5de3d6e"
4081+
integrity sha512-Uu0wb7KNqK2t5K+YQyVCLM76prD5sRFjKHbJYCP1J7JFGEQ6nN7HWn9+04LAeiJ3ji54lgS/gZCH1oxyrf1SPw==
4082+
dependencies:
4083+
follow-redirects "^1.15.6"
4084+
form-data "^4.0.0"
4085+
proxy-from-env "^1.1.0"
4086+
40214087
babel-code-frame@^6.26.0:
40224088
version "6.26.0"
40234089
resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b"
@@ -6667,7 +6733,7 @@ electron-to-chromium@^1.3.47, electron-to-chromium@^1.4.71:
66676733
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.75.tgz#d1ad9bb46f2f1bf432118c2be21d27ffeae82fdd"
66686734
integrity sha512-LxgUNeu3BVU7sXaKjUDD9xivocQLxFtq6wgERrutdY/yIOps3ODOZExK1jg8DTEg4U8TUCb5MLGeWFOYuxjF3Q==
66696735

6670-
[email protected], elliptic@^6.4.0, elliptic@^6.4.1, elliptic@^6.5.2, elliptic@^6.5.3, elliptic@^6.5.4:
6736+
[email protected], elliptic@^6.4.0, elliptic@^6.5.2, elliptic@^6.5.3, elliptic@^6.5.4:
66716737
version "6.5.4"
66726738
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb"
66736739
integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==
@@ -14351,30 +14417,7 @@ scryptsy@^1.2.1:
1435114417
dependencies:
1435214418
pbkdf2 "^3.0.3"
1435314419

14354-
14355-
version "3.7.1"
14356-
resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-3.7.1.tgz#12e473e0e9a7c2f2d4d4818e722ad0e14cc1e2f1"
14357-
integrity sha512-1cf8sbnRreXrQFdH6qsg2H71Xw91fCCS9Yp021GnUNJzWJS/py96fS4lHbnTnouLp08Xj6jBoBB6V78Tdbdu5g==
14358-
dependencies:
14359-
bindings "^1.5.0"
14360-
bip66 "^1.1.5"
14361-
bn.js "^4.11.8"
14362-
create-hash "^1.2.0"
14363-
drbg.js "^1.0.1"
14364-
elliptic "^6.4.1"
14365-
nan "^2.14.0"
14366-
safe-buffer "^5.1.2"
14367-
14368-
14369-
version "4.0.3"
14370-
resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-4.0.3.tgz#c4559ecd1b8d3c1827ed2d1b94190d69ce267303"
14371-
integrity sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA==
14372-
dependencies:
14373-
elliptic "^6.5.4"
14374-
node-addon-api "^2.0.0"
14375-
node-gyp-build "^4.2.0"
14376-
14377-
secp256k1@^3.0.1:
14420+
1437814421
version "3.8.1"
1437914422
resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-3.8.1.tgz#b62a62a882d6b16f9b51fe599c6b3a861e36c59f"
1438014423
integrity sha512-tArjQw2P0RTdY7QmkNehgp6TVvQXq6ulIhxv8gaH6YubKG/wxxAoNKcbuXjDhybbc+b2Ihc7e0xxiGN744UIiQ==
@@ -14388,6 +14431,15 @@ secp256k1@^3.0.1:
1438814431
nan "^2.14.0"
1438914432
safe-buffer "^5.1.2"
1439014433

14434+
14435+
version "5.0.1"
14436+
resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-5.0.1.tgz#dc2c86187d48ff2da756f0f7e96417ee03c414b1"
14437+
integrity sha512-lDFs9AAIaWP9UCdtWrotXWWF9t8PWgQDcxqgAnpM9rMqxb3Oaq2J0thzPVSxBwdJgyQtkU/sYtFtbM1RSt/iYA==
14438+
dependencies:
14439+
elliptic "^6.5.7"
14440+
node-addon-api "^5.0.0"
14441+
node-gyp-build "^4.2.0"
14442+
1439114443
secp256k1@^4.0.0, secp256k1@^4.0.1:
1439214444
version "4.0.4"
1439314445
resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-4.0.4.tgz#58f0bfe1830fe777d9ca1ffc7574962a8189f8ab"

0 commit comments

Comments
 (0)