four-flap-meme-sdk 1.5.90 → 1.5.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/xlayer/bundle.js +2 -2
- package/package.json +1 -1
package/dist/xlayer/bundle.js
CHANGED
|
@@ -1736,7 +1736,7 @@ export class BundleExecutor {
|
|
|
1736
1736
|
// ✅ 判断是否是最后一笔内盘买入(触发毕业的那笔)
|
|
1737
1737
|
const isGraduationTrigger = (i === curveBuyers.length - 1);
|
|
1738
1738
|
const callGasLimit = isGraduationTrigger
|
|
1739
|
-
?
|
|
1739
|
+
? 8000000n // 毕业触发交易需要更高 gas
|
|
1740
1740
|
: (effConfig.fixedGas?.callGasLimit ?? 500000n); // 其他买入使用前端配置或默认值
|
|
1741
1741
|
const buyOpRes = await aaManager.buildUserOpWithFixedGas({
|
|
1742
1742
|
ownerWallet: wallet,
|
|
@@ -1796,7 +1796,7 @@ export class BundleExecutor {
|
|
|
1796
1796
|
nonce: nonceMap.next(info.sender),
|
|
1797
1797
|
initCode: info.deployed ? '0x' : (await aaManager.generateInitCode(wallet.address)),
|
|
1798
1798
|
deployed: info.deployed,
|
|
1799
|
-
fixedGas: { callGasLimit: effConfig.fixedGas?.callGasLimit ?? 500000n }
|
|
1799
|
+
fixedGas: { callGasLimit: effConfig.fixedGas?.callGasLimit ?? 500000n }
|
|
1800
1800
|
});
|
|
1801
1801
|
const signedDexBuyOp = await aaManager.signUserOp(dexBuyOpRes.userOp, wallet);
|
|
1802
1802
|
return signedDexBuyOp.userOp;
|