Skip to content

Commit

Permalink
chore:test attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Ifechukwudaniel committed Nov 28, 2024
1 parent 8e7c7cc commit 9e34259
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ impl StoragePriceFeed {
}

/// This function is for just for testing
#[cfg(test)]
pub fn test_from_price_feed(price_feed: PriceFeed) -> Self {
let mut storage_price_feed =
unsafe { StoragePriceFeed::new(U256::from(100), 0) };
Expand Down

0 comments on commit 9e34259

Please sign in to comment.