fix(pumpswap): validate virtual reserve quotes

This commit is contained in:
0xfnzero
2026-07-17 02:15:20 +08:00
parent dd41dd4f87
commit fb1ff176d0
13 changed files with 914 additions and 111 deletions
+7 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "sol-trade-sdk"
version = "4.0.23"
version = "5.0.0"
edition = "2021"
authors = [
"William <byteblock6@gmail.com>",
@@ -123,6 +123,12 @@ memmap2 = "0.9"
num_cpus = "1.16"
libc = "0.2"
# solana-keypair 3.1.2 assumes five8's DecodeError implements std::error::Error.
# Mixed Solana dependency graphs can resolve five8 1.0 against five8_core 0.1,
# so use the patched upstream source that wraps decode failures safely.
[patch.crates-io]
solana-keypair = { path = "patches/solana-keypair" }
# 🚀 编译器优化配置 - 平衡性能与编译速度
[profile.release]
opt-level = 3 # 最高优化级别(不影响编译速度)