#[tokio::test]
async fn get_price_ticker_error() {
let exchange = init().await;
let req1 = OrderBookRequest {
market_pair: "btc_usdc".to_string(),
};
let req2 = GetPriceTickerRequest {
market_pair: "btc_usdc".to_string(),
};
let r1 = exchange.get_price_ticker(&req2).await;
let r2 = exchange.order_book(&req1).await;
let r3 = exchange.get_price_ticker(&req2).await;
println!("{:?}", r1);
println!("{:?}", r2);
println!("{:?}", r3);
}
It seems like the price ticker retrieval becomes corrupted after we do another protocol action like getting the orderbook etc. Have you seen this before @Ejhfast?
Thanks for reporting this, it is actually an issue on the Nash backend. We already have a fix in and it will hit production on our weekly Wednesday release
It seems like the price ticker retrieval becomes corrupted after we do another protocol action like getting the orderbook etc. Have you seen this before @Ejhfast?