Release solana-streamer-sdk v1.5.3

This commit is contained in:
0xfnzero
2026-05-28 03:44:42 +08:00
parent 02c8a6d168
commit 4cb22592e8
7 changed files with 201 additions and 76 deletions
+3 -3
View File
@@ -142,17 +142,17 @@ mod tests {
}
#[test]
fn converts_pumpfun_buy_exact_quote_in_as_buy_event() {
fn converts_pumpfun_buy_exact_quote_in_v2_as_buy_event() {
let mut t = PbPumpTrade::default();
t.metadata = EventMetadata::default();
t.is_buy = true;
t.ix_name = "buy_exact_quote_in".to_string();
t.ix_name = "buy_exact_quote_in_v2".to_string();
let ev = convert_parser_event(PbDexEvent::PumpFunBuy(t), None, 999).expect("convert");
match ev {
DexEvent::PumpFunTradeEvent(st) => {
assert_eq!(st.metadata.event_type, EventType::PumpFunBuy);
assert_eq!(st.ix_name, "buy_exact_quote_in");
assert_eq!(st.ix_name, "buy_exact_quote_in_v2");
}
_ => panic!("expected PumpFunTradeEvent"),
}