You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Reserve `mainOpFee`, not the raw taquito suggestion: `estimatedFees` below reports the
187
+
// `minFees` floor, so subtracting the (lower) suggestion here yields an amount whose
188
+
// `amount + estimatedFees` exceeds the spendable balance, and validateIntent then rejects
189
+
// the very max it was handed (LIVE-28506).
186
190
// NOTE: from https://github.com/ecadlabs/taquito/blob/master/integration-tests/__tests__/contract/empty-implicit-account-into-new-implicit-account.spec.ts#L37
187
191
consttotalFees=
188
192
estimate.burnFeeMutez>0
189
-
? estimate.suggestedFeeMutez+estimate.burnFeeMutez-20*COST_PER_BYTE// 20 is storage buffer
190
-
: estimate.suggestedFeeMutez;
193
+
? mainOpFee+estimate.burnFeeMutez-20*COST_PER_BYTE// 20 is storage buffer
// NOTE: from https://github.com/ecadlabs/taquito/blob/a70c64c4b105381bb9f1d04c9c70e8ef26e9241c/integration-tests/contract-empty-implicit-account-into-new-implicit-account.spec.ts#L33
193
197
// Temporary fix, see https://gitlab.com/tezos/tezos/-/issues/1754
@@ -196,6 +200,14 @@ export async function estimateFees({
0 commit comments