Skip to content

Commit 9e34259

Browse files
chore:test attribute
1 parent 8e7c7cc commit 9e34259

File tree

1 file changed

+1
-0
lines changed
  • target_chains/ethereum/sdk/stylus/contracts/src/pyth

1 file changed

+1
-0
lines changed

target_chains/ethereum/sdk/stylus/contracts/src/pyth/types.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ impl StoragePriceFeed {
201201
}
202202

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

0 commit comments

Comments
 (0)