Skip to content

Commit

Permalink
chore: update ssz to use non-simd on systems that do not support
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewkeil committed Jan 16, 2025
1 parent 0ac8bb9 commit ce94fc6
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 21 deletions.
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
},
"dependencies": {
"@chainsafe/persistent-merkle-tree": "^0.8.0",
"@chainsafe/ssz": "^0.18.0",
"@chainsafe/ssz": "^0.19.0",
"@lodestar/config": "^1.25.0",
"@lodestar/params": "^1.25.0",
"@lodestar/types": "^1.25.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/beacon-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"@chainsafe/persistent-merkle-tree": "^0.8.0",
"@chainsafe/prometheus-gc-stats": "^1.0.0",
"@chainsafe/pubkey-index-map": "2.0.0",
"@chainsafe/ssz": "^0.18.0",
"@chainsafe/ssz": "^0.19.0",
"@chainsafe/threads": "^1.11.1",
"@ethersproject/abi": "^5.7.0",
"@fastify/bearer-auth": "^10.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@chainsafe/discv5": "^9.0.0",
"@chainsafe/enr": "^3.0.0",
"@chainsafe/persistent-merkle-tree": "^0.8.0",
"@chainsafe/ssz": "^0.18.0",
"@chainsafe/ssz": "^0.19.0",
"@chainsafe/threads": "^1.11.1",
"@libp2p/crypto": "^4.1.0",
"@libp2p/peer-id": "^4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"blockchain"
],
"dependencies": {
"@chainsafe/ssz": "^0.18.0",
"@chainsafe/ssz": "^0.19.0",
"@lodestar/params": "^1.25.0",
"@lodestar/types": "^1.25.0",
"@lodestar/utils": "^1.25.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"check-readme": "typescript-docs-verifier"
},
"dependencies": {
"@chainsafe/ssz": "^0.18.0",
"@chainsafe/ssz": "^0.19.0",
"@lodestar/config": "^1.25.0",
"@lodestar/utils": "^1.25.0",
"classic-level": "^1.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/fork-choice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"check-readme": "typescript-docs-verifier"
},
"dependencies": {
"@chainsafe/ssz": "^0.18.0",
"@chainsafe/ssz": "^0.19.0",
"@lodestar/config": "^1.25.0",
"@lodestar/params": "^1.25.0",
"@lodestar/state-transition": "^1.25.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/light-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"@chainsafe/bls": "7.1.3",
"@chainsafe/blst": "^0.2.0",
"@chainsafe/persistent-merkle-tree": "^0.8.0",
"@chainsafe/ssz": "^0.18.0",
"@chainsafe/ssz": "^0.19.0",
"@lodestar/api": "^1.25.0",
"@lodestar/config": "^1.25.0",
"@lodestar/params": "^1.25.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/state-transition/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@chainsafe/persistent-merkle-tree": "^0.8.0",
"@chainsafe/persistent-ts": "^0.19.1",
"@chainsafe/pubkey-index-map": "2.0.0",
"@chainsafe/ssz": "^0.18.0",
"@chainsafe/ssz": "^0.19.0",
"@chainsafe/swap-or-not-shuffle": "^0.0.2",
"@lodestar/config": "^1.25.0",
"@lodestar/params": "^1.25.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
},
"types": "lib/index.d.ts",
"dependencies": {
"@chainsafe/ssz": "^0.18.0",
"@chainsafe/ssz": "^0.19.0",
"@lodestar/params": "^1.25.0",
"ethereum-cryptography": "^2.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
],
"dependencies": {
"@chainsafe/blst": "^2.1.0",
"@chainsafe/ssz": "^0.18.0",
"@chainsafe/ssz": "^0.19.0",
"@lodestar/api": "^1.25.0",
"@lodestar/config": "^1.25.0",
"@lodestar/db": "^1.25.0",
Expand Down
36 changes: 25 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,11 @@
resolved "https://registry.yarnpkg.com/@chainsafe/as-sha256/-/as-sha256-0.5.0.tgz#2523fbef2b80b5000f9aa71f4a76e5c2c5c076bb"
integrity sha512-dTIY6oUZNdC5yDTVP5Qc9hAlKAsn0QTQ2DnQvvsbTnKSTbYs3p5RPN0aIUqN0liXei/9h24c7V0dkV44cnWIQA==

"@chainsafe/[email protected]":
version "0.6.0"
resolved "https://registry.yarnpkg.com/@chainsafe/as-sha256/-/as-sha256-0.6.0.tgz#f1b42aefca85d6244b39f20a8a76da4758c97447"
integrity sha512-xhdKEHBen29JbLM4GkAvVPWs50/FX+mRqxBuHIX93LfCssz2k9GqA1r/QGkTiOJz4M+az9RPw9ZQk1jZ+hdnLg==

"@chainsafe/as-sha256@^0.4.1":
version "0.4.1"
resolved "https://registry.yarnpkg.com/@chainsafe/as-sha256/-/as-sha256-0.4.1.tgz#cfc0737e25f8c206767bdb6703e7943e5d44513e"
Expand Down Expand Up @@ -595,12 +600,12 @@
dependencies:
"@chainsafe/is-ip" "^2.0.1"

"@chainsafe/persistent-merkle-tree@0.8.0", "@chainsafe/persistent-merkle-tree@^0.8.0":
version "0.8.0"
resolved "https://registry.yarnpkg.com/@chainsafe/persistent-merkle-tree/-/persistent-merkle-tree-0.8.0.tgz#18e2f0a5de3a0b59c6e5be8797a78e0d209dd7dc"
integrity sha512-hh6C1JO6SKlr0QGNTNtTLqgGVMA/Bc20wD6CeMHp+wqbFKCULRJuBUxhF4WDx/7mX8QlqF3nFriF/Eo8oYJ4/A==
"@chainsafe/persistent-merkle-tree@0.9.0":
version "0.9.0"
resolved "https://registry.yarnpkg.com/@chainsafe/persistent-merkle-tree/-/persistent-merkle-tree-0.9.0.tgz#c05ff2f03f9c9b00d2107e936221b95a4b802734"
integrity sha512-3it08pySJk4pBf0wMxe2hL+D3qIisJD/F2N7Z32pZPNQXXsgNBHCJiIbVKCZ4blecQJ+ceGEyzI5jlJv2kPXLw==
dependencies:
"@chainsafe/as-sha256" "0.5.0"
"@chainsafe/as-sha256" "0.6.0"
"@chainsafe/hashtree" "1.0.1"
"@noble/hashes" "^1.3.0"

Expand All @@ -612,6 +617,15 @@
"@chainsafe/as-sha256" "^0.4.1"
"@noble/hashes" "^1.3.0"

"@chainsafe/persistent-merkle-tree@^0.8.0":
version "0.8.0"
resolved "https://registry.yarnpkg.com/@chainsafe/persistent-merkle-tree/-/persistent-merkle-tree-0.8.0.tgz#18e2f0a5de3a0b59c6e5be8797a78e0d209dd7dc"
integrity sha512-hh6C1JO6SKlr0QGNTNtTLqgGVMA/Bc20wD6CeMHp+wqbFKCULRJuBUxhF4WDx/7mX8QlqF3nFriF/Eo8oYJ4/A==
dependencies:
"@chainsafe/as-sha256" "0.5.0"
"@chainsafe/hashtree" "1.0.1"
"@noble/hashes" "^1.3.0"

"@chainsafe/persistent-ts@^0.19.1":
version "0.19.1"
resolved "https://registry.npmjs.org/@chainsafe/persistent-ts/-/persistent-ts-0.19.1.tgz"
Expand Down Expand Up @@ -666,13 +680,13 @@
"@chainsafe/as-sha256" "^0.4.1"
"@chainsafe/persistent-merkle-tree" "^0.6.1"

"@chainsafe/ssz@^0.18.0":
version "0.18.0"
resolved "https://registry.yarnpkg.com/@chainsafe/ssz/-/ssz-0.18.0.tgz#773d40df9dff3b6a2a4c6685d9797abceb9d36f7"
integrity sha512-1ikTjk3JK6+fsGWiT5IvQU0AP6gF3fDzGmPfkKthbcbgTUR8fjB83Ywp9ko/ZoiDGfrSFkATgT4hvRzclu0IAA==
"@chainsafe/ssz@^0.19.0":
version "0.19.0"
resolved "https://registry.yarnpkg.com/@chainsafe/ssz/-/ssz-0.19.0.tgz#bf23643a5e2f9ef2cd40f8b8091cd55fdff97d6e"
integrity sha512-sQUPT0zXeZuz045jVsn8vldLcAHlORvUQ/iuNOwboLOUW5lFBKeipo6woZXHYPwoUi4BwN9FVpmJP44NKfrnIg==
dependencies:
"@chainsafe/as-sha256" "0.5.0"
"@chainsafe/persistent-merkle-tree" "0.8.0"
"@chainsafe/as-sha256" "0.6.0"
"@chainsafe/persistent-merkle-tree" "0.9.0"

"@chainsafe/[email protected]":
version "0.0.2"
Expand Down

0 comments on commit ce94fc6

Please sign in to comment.