fix(pumpswap): validate virtual reserve quotes
This commit is contained in:
+7
-1
@@ -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 # 最高优化级别(不影响编译速度)
|
||||
|
||||
Reference in New Issue
Block a user