Skip to content

Commit

Permalink
improve: secp256k1 version (#785)
Browse files Browse the repository at this point in the history
* improve: secp256k1

* chore: bump version

Signed-off-by: james-a-morris <[email protected]>

---------

Signed-off-by: james-a-morris <[email protected]>
  • Loading branch information
james-a-morris authored Dec 2, 2024
1 parent 3dcc325 commit 7ce87c1
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 29 deletions.
15 changes: 12 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@across-protocol/contracts",
"version": "3.0.16",
"version": "3.0.17",
"author": "UMA Team",
"license": "AGPL-3.0-only",
"repository": {
Expand Down Expand Up @@ -53,9 +53,9 @@
"@solana/spl-token": "^0.4.6",
"@solana/web3.js": "^1.31.0",
"@types/yargs": "^17.0.33",
"@uma/common": "^2.34.0",
"@uma/common": "^2.37.3",
"@uma/contracts-node": "^0.4.17",
"@uma/core": "^2.56.0",
"@uma/core": "^2.61.0",
"axios": "^1.7.4",
"bs58": "^6.0.0",
"prettier-plugin-rust": "^0.1.9",
Expand Down Expand Up @@ -121,5 +121,14 @@
"publishConfig": {
"registry": "https://registry.npmjs.com/",
"access": "public"
},
"overrides": {
"[email protected]": "3.8.1",
"[email protected]": "4.0.4",
"[email protected]": "5.0.1"
},
"resolutions": {
"**/eccrypto/secp256k1": "3.8.1",
"**/eth-crypto/secp256k1": "5.0.1"
}
}
104 changes: 78 additions & 26 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3328,12 +3328,53 @@
web3 "^1.6.0"
winston "^3.2.1"

"@uma/common@^2.37.3":
version "2.37.3"
resolved "https://registry.yarnpkg.com/@uma/common/-/common-2.37.3.tgz#0d7fda1227e3a05563544bb36f418a790c81129d"
integrity sha512-DLcM2xtiFWDbty21r2gsL6AJbOc8G/CMqg0iMxssvkKbz8varsWS44zJF85XGxMlY8fE40w0ZS8MR92xpbsu4g==
dependencies:
"@across-protocol/contracts" "^0.1.4"
"@ethersproject/address" "^5.7.0"
"@ethersproject/bignumber" "^5.0.5"
"@ethersproject/bytes" "^5.7.0"
"@ethersproject/constants" "^5.7.0"
"@google-cloud/kms" "^3.0.1"
"@google-cloud/storage" "^6.4.2"
"@nomicfoundation/hardhat-verify" "^1.0.4"
"@nomiclabs/hardhat-ethers" "^2.2.1"
"@nomiclabs/hardhat-web3" "^2.0.0"
"@truffle/contract" "4.6.17"
"@truffle/hdwallet-provider" eip1559-beta
"@types/ethereum-protocol" "^1.0.0"
"@uniswap/v3-core" "^1.0.0-rc.2"
abi-decoder "github:UMAprotocol/abi-decoder"
async-retry "^1.3.3"
axios "^1.6.1"
bignumber.js "^8.0.1"
chalk-pipe "^3.0.0"
decimal.js "^10.2.1"
dotenv "^9.0.0"
eth-crypto "^2.4.0"
hardhat-deploy "0.9.1"
hardhat-gas-reporter "^1.0.4"
hardhat-typechain "^0.3.5"
lodash.uniqby "^4.7.0"
minimist "^1.2.0"
moment "^2.24.0"
node-fetch "^2.6.0"
node-metamask "github:UMAprotocol/node-metamask"
require-context "^1.1.0"
solidity-coverage "^0.7.13"
truffle-deploy-registry "^0.5.1"
web3 "^1.6.0"
winston "^3.2.1"

"@uma/contracts-node@^0.4.0", "@uma/contracts-node@^0.4.17":
version "0.4.17"
resolved "https://registry.yarnpkg.com/@uma/contracts-node/-/contracts-node-0.4.17.tgz#6abd815723c8344017eb5c302f6a5b0b690eeb4e"
integrity sha512-e7cVJr3yhKrPZn1TAo/CCOt+QacJON6Mj71lcwHq/rnx+tgjujK2MsOhihytmb79ejPTKg1b5+2GIDL02ttrrQ==

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

"@uma/core@^2.61.0":
version "2.61.0"
resolved "https://registry.yarnpkg.com/@uma/core/-/core-2.61.0.tgz#29580736349a47af8fb10beb4bb3b50bfcf912f5"
integrity sha512-bnk+CWW+uWpRilrgUny/gDXHKomG+h1Ug84OXdx+AAvj1/BtlMDOCNNt1OX8LSAz+a0hkiN9s24/zgHclTC/sg==
dependencies:
"@gnosis.pm/safe-contracts" "^1.3.0"
"@gnosis.pm/zodiac" "3.2.0"
"@maticnetwork/fx-portal" "^1.0.4"
"@openzeppelin/contracts" "4.9.6"
"@uma/common" "^2.37.3"
"@uniswap/lib" "4.0.1-alpha"
"@uniswap/v2-core" "1.0.0"
"@uniswap/v2-periphery" "1.1.0-beta.0"
"@uniswap/v3-core" "^1.0.0-rc.2"
"@uniswap/v3-periphery" "^1.0.0-beta.23"

"@uma/merkle-distributor@^1.3.38":
version "1.3.40"
resolved "https://registry.yarnpkg.com/@uma/merkle-distributor/-/merkle-distributor-1.3.40.tgz#70ba0ebf0fe923851786396bcb9a59a5a931127b"
Expand Down Expand Up @@ -4018,6 +4075,15 @@ axios@^1.4.0, axios@^1.7.4:
form-data "^4.0.0"
proxy-from-env "^1.1.0"

axios@^1.6.1:
version "1.7.8"
resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.8.tgz#1997b1496b394c21953e68c14aaa51b7b5de3d6e"
integrity sha512-Uu0wb7KNqK2t5K+YQyVCLM76prD5sRFjKHbJYCP1J7JFGEQ6nN7HWn9+04LAeiJ3ji54lgS/gZCH1oxyrf1SPw==
dependencies:
follow-redirects "^1.15.6"
form-data "^4.0.0"
proxy-from-env "^1.1.0"

babel-code-frame@^6.26.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b"
Expand Down Expand Up @@ -6667,7 +6733,7 @@ electron-to-chromium@^1.3.47, electron-to-chromium@^1.4.71:
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.75.tgz#d1ad9bb46f2f1bf432118c2be21d27ffeae82fdd"
integrity sha512-LxgUNeu3BVU7sXaKjUDD9xivocQLxFtq6wgERrutdY/yIOps3ODOZExK1jg8DTEg4U8TUCb5MLGeWFOYuxjF3Q==

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

[email protected]:
version "3.7.1"
resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-3.7.1.tgz#12e473e0e9a7c2f2d4d4818e722ad0e14cc1e2f1"
integrity sha512-1cf8sbnRreXrQFdH6qsg2H71Xw91fCCS9Yp021GnUNJzWJS/py96fS4lHbnTnouLp08Xj6jBoBB6V78Tdbdu5g==
dependencies:
bindings "^1.5.0"
bip66 "^1.1.5"
bn.js "^4.11.8"
create-hash "^1.2.0"
drbg.js "^1.0.1"
elliptic "^6.4.1"
nan "^2.14.0"
safe-buffer "^5.1.2"

[email protected]:
version "4.0.3"
resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-4.0.3.tgz#c4559ecd1b8d3c1827ed2d1b94190d69ce267303"
integrity sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA==
dependencies:
elliptic "^6.5.4"
node-addon-api "^2.0.0"
node-gyp-build "^4.2.0"

secp256k1@^3.0.1:
[email protected], [email protected], secp256k1@^3.0.1:
version "3.8.1"
resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-3.8.1.tgz#b62a62a882d6b16f9b51fe599c6b3a861e36c59f"
integrity sha512-tArjQw2P0RTdY7QmkNehgp6TVvQXq6ulIhxv8gaH6YubKG/wxxAoNKcbuXjDhybbc+b2Ihc7e0xxiGN744UIiQ==
Expand All @@ -14388,6 +14431,15 @@ secp256k1@^3.0.1:
nan "^2.14.0"
safe-buffer "^5.1.2"

[email protected], [email protected]:
version "5.0.1"
resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-5.0.1.tgz#dc2c86187d48ff2da756f0f7e96417ee03c414b1"
integrity sha512-lDFs9AAIaWP9UCdtWrotXWWF9t8PWgQDcxqgAnpM9rMqxb3Oaq2J0thzPVSxBwdJgyQtkU/sYtFtbM1RSt/iYA==
dependencies:
elliptic "^6.5.7"
node-addon-api "^5.0.0"
node-gyp-build "^4.2.0"

secp256k1@^4.0.0, secp256k1@^4.0.1:
version "4.0.4"
resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-4.0.4.tgz#58f0bfe1830fe777d9ca1ffc7574962a8189f8ab"
Expand Down

0 comments on commit 7ce87c1

Please sign in to comment.