Skip to content

Commit

Permalink
update smallvec (#2152)
Browse files Browse the repository at this point in the history
## Issue Addressed

`cargo audit` is failing because of a potential for an overflow in the version of `smallvec` we're using

## Proposed Changes

Update to the latest version of `smallvec`, which has the fix


Co-authored-by: realbigsean <[email protected]>
  • Loading branch information
realbigsean and realbigsean committed Jan 11, 2021
1 parent 851a4dc commit 423dea1
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion beacon_node/beacon_chain/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ merkle_proof = { path = "../../consensus/merkle_proof" }
store = { path = "../store" }
parking_lot = "0.11.0"
lazy_static = "1.4.0"
smallvec = "1.4.2"
smallvec = "1.6.1"
lighthouse_metrics = { path = "../../common/lighthouse_metrics" }
log = "0.4.11"
operation_pool = { path = "../operation_pool" }
Expand Down
2 changes: 1 addition & 1 deletion beacon_node/eth2_libp2p/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dirs = "3.0.1"
fnv = "1.0.7"
lazy_static = "1.4.0"
lighthouse_metrics = { path = "../../common/lighthouse_metrics" }
smallvec = "1.4.2"
smallvec = "1.6.1"
tokio-io-timeout = "0.5.0"
lru = "0.6.0"
parking_lot = "0.11.0"
Expand Down
2 changes: 1 addition & 1 deletion beacon_node/network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ futures = "0.3.7"
error-chain = "0.12.4"
tokio = { version = "0.3.2", features = ["full"] }
parking_lot = "0.11.0"
smallvec = "1.4.2"
smallvec = "1.6.1"
rand = "0.7.3"
fnv = "1.0.7"
rlp = "0.4.6"
Expand Down
2 changes: 1 addition & 1 deletion consensus/cached_tree_hash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ eth2_hashing = "0.1.0"
eth2_ssz_derive = "0.1.0"
eth2_ssz = "0.1.2"
tree_hash = "0.1.1"
smallvec = "1.4.2"
smallvec = "1.6.1"

[dev-dependencies]
quickcheck = "0.9.2"
Expand Down
2 changes: 1 addition & 1 deletion consensus/ssz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ eth2_ssz_derive = "0.1.0"

[dependencies]
ethereum-types = "0.9.2"
smallvec = "1.4.2"
smallvec = "1.6.1"

[features]
arbitrary = ["ethereum-types/arbitrary"]
2 changes: 1 addition & 1 deletion consensus/tree_hash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lazy_static = "1.4.0"
[dependencies]
ethereum-types = "0.9.2"
eth2_hashing = "0.1.0"
smallvec = "1.4.2"
smallvec = "1.6.1"

[features]
arbitrary = ["ethereum-types/arbitrary"]

0 comments on commit 423dea1

Please sign in to comment.