We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e7c7cc commit 9e34259Copy full SHA for 9e34259
target_chains/ethereum/sdk/stylus/contracts/src/pyth/types.rs
@@ -201,6 +201,7 @@ impl StoragePriceFeed {
201
}
202
203
/// This function is for just for testing
204
+ #[cfg(test)]
205
pub fn test_from_price_feed(price_feed: PriceFeed) -> Self {
206
let mut storage_price_feed =
207
unsafe { StoragePriceFeed::new(U256::from(100), 0) };
0 commit comments