@hypurrquant/defi-cli 1.0.9 → 1.0.10
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/mcp-server.js +1 -1
- package/dist/mcp-server.js.map +1 -1
- package/package.json +1 -1
- package/skills/defi-cli/package.json +1 -1
package/dist/mcp-server.js
CHANGED
|
@@ -7556,7 +7556,7 @@ var Executor = class _Executor {
|
|
|
7556
7556
|
try {
|
|
7557
7557
|
const block = await client.getBlock({ blockTag: "latest" });
|
|
7558
7558
|
if (block.baseFeePerGas !== null && block.baseFeePerGas !== void 0) {
|
|
7559
|
-
const maxFee = block.baseFeePerGas *
|
|
7559
|
+
const maxFee = block.baseFeePerGas * 125n / 100n + priorityFee;
|
|
7560
7560
|
return [maxFee, priorityFee];
|
|
7561
7561
|
}
|
|
7562
7562
|
} catch {
|