diff --git a/Cargo.toml b/Cargo.toml index e7dea83..9831e9c 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sol-trade-sdk" -version = "0.2.6" +version = "0.2.7" edition = "2021" authors = ["William ", "sgxiang ", "wei <1415121722@qq.com>"] repository = "https://github.com/0xfnzero/sol-trade-sdk" diff --git a/README.md b/README.md index c460d57..f8c29e4 100755 --- a/README.md +++ b/README.md @@ -31,14 +31,14 @@ Add the dependency to your `Cargo.toml`: ```toml # Add to your Cargo.toml -sol-trade-sdk = { path = "./sol-trade-sdk", version = "0.2.6" } +sol-trade-sdk = { path = "./sol-trade-sdk", version = "0.2.7" } ``` ### Use crates.io ```toml # Add to your Cargo.toml -sol-trade-sdk = "0.2.6" +sol-trade-sdk = "0.2.7" ``` ## Usage Examples diff --git a/README_CN.md b/README_CN.md index 958fc32..ae0d84a 100755 --- a/README_CN.md +++ b/README_CN.md @@ -31,14 +31,14 @@ git clone https://github.com/0xfnzero/sol-trade-sdk ```toml # 添加到您的 Cargo.toml -sol-trade-sdk = { path = "./sol-trade-sdk", version = "0.2.6" } +sol-trade-sdk = { path = "./sol-trade-sdk", version = "0.2.7" } ``` ### 使用 crates.io ```toml # 添加到您的 Cargo.toml -sol-trade-sdk = "0.2.6" +sol-trade-sdk = "0.2.7" ``` ## 使用示例 diff --git a/src/constants/trade.rs b/src/constants/trade.rs index 578aeae..1278f57 100644 --- a/src/constants/trade.rs +++ b/src/constants/trade.rs @@ -4,6 +4,6 @@ pub mod trade { pub const DEFAULT_COMPUTE_UNIT_PRICE: u64 = 500000; pub const DEFAULT_BUY_TIP_FEE: f64 = 0.0006; pub const DEFAULT_SELL_TIP_FEE: f64 = 0.0001; - pub const DEFAULT_RPC_UNIT_LIMIT: u32 = 1000000; + pub const DEFAULT_RPC_UNIT_LIMIT: u32 = 78000; pub const DEFAULT_RPC_UNIT_PRICE: u64 = 500000; }