@startale-scs/aa-sdk 1.0.1 → 1.0.2
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.
|
@@ -26,7 +26,7 @@ const getGasFeeValues = async (client) => {
|
|
|
26
26
|
}
|
|
27
27
|
return BigInt(block.baseFeePerGas);
|
|
28
28
|
});
|
|
29
|
-
const maxFeePerGas = (0, account_1.safeMultiplier)(baseFeePerGas + BigInt(priorityFeeDataFromSCS), 1.
|
|
29
|
+
const maxFeePerGas = (0, account_1.safeMultiplier)(baseFeePerGas + BigInt(priorityFeeDataFromSCS), 1.3);
|
|
30
30
|
const maxPriorityFeePerGasFromSCS = (0, account_1.safeMultiplier)(BigInt(priorityFeeDataFromSCS), 1);
|
|
31
31
|
return {
|
|
32
32
|
slow: {
|
|
@@ -55,7 +55,7 @@ export const getGasFeeValues = async (client) => {
|
|
|
55
55
|
return BigInt(block.baseFeePerGas);
|
|
56
56
|
});
|
|
57
57
|
//maxFee = base fee + feeDataFromSCS
|
|
58
|
-
const maxFeePerGas = safeMultiplier(baseFeePerGas + BigInt(priorityFeeDataFromSCS), 1.
|
|
58
|
+
const maxFeePerGas = safeMultiplier(baseFeePerGas + BigInt(priorityFeeDataFromSCS), 1.3);
|
|
59
59
|
const maxPriorityFeePerGasFromSCS = safeMultiplier(BigInt(priorityFeeDataFromSCS), 1);
|
|
60
60
|
return {
|
|
61
61
|
slow: {
|