Skip to content

Commit

Permalink
fix(network): include correct features from near-primitives (near#12068)
Browse files Browse the repository at this point in the history
In near#11597 some new feature flags were introduced in the near-primitives
package.

near-network depends on some of the gated features. Currently running
`cargo test -p near-network` results in compile errors. This PR restores
the ability to build and run the tests of the near-network package
independently.
  • Loading branch information
saketh-are authored Sep 9, 2024
1 parent ae44d2c commit 1bb7fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain/network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ near-chain-configs.workspace = true
near-crypto.workspace = true
near-performance-metrics.workspace = true
near-performance-metrics-macros.workspace = true
near-primitives = { workspace = true, features = ["rand"] }
near-primitives = { workspace = true, features = ["rand", "solomon", "clock"] }
near-store.workspace = true
near-schema-checker-lib.workspace = true

Expand Down

0 comments on commit 1bb7fc5

Please sign in to comment.