Skip to content

Commit

Permalink
fix(primitives): benchmark compilation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jmg-duarte committed Jan 24, 2025
1 parent 3dd09fa commit 269baab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion primitives/src/proofs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ mod serde_tests {

#[cfg(feature = "testing")]
pub mod testing {
use sp_core::{bounded_btree_map::BoundedBTreeMap, bounded_vec::BoundedVec, ConstU32};
use sp_core::ConstU32;
use sp_runtime::{BoundedBTreeMap, BoundedVec};

use crate::{
pallets::ProofVerification,
Expand Down
3 changes: 2 additions & 1 deletion primitives/src/sector/pre_commit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ pub mod builder {

use cid::Cid;
use sp_core::ConstU32;
use sp_runtime::BoundedVec;
use sp_runtime::{BoundedVec, Vec};
use sp_std::vec;

use super::SectorPreCommitInfo;
use crate::{
Expand Down

0 comments on commit 269baab

Please sign in to comment.