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
@@ -16,11 +18,7 @@ export type SendMethodOptions = {
16
18
/** Wether to skip the simulation of the public part of the transaction. */
17
19
skipPublicSimulation?: boolean;
18
20
/** The fee options for the transaction. */
19
-
fee?: FeeOptions;
20
-
/** Whether to run an initial simulation of the tx with high gas limit to figure out actual gas settings (will default to true later down the road). */
21
-
estimateGas?: boolean;
22
-
/** Percentage to pad the suggested gas limits by, if empty, defaults to 10%. */
23
-
estimatedGasPad?: number;
21
+
fee?: UserFeeOptions;
24
22
/** Custom nonce to inject into the app payload of the transaction. Useful when trying to cancel an ongoing transaction by creating a new one with a higher fee */
25
23
nonce?: Fr;
26
24
/** Whether the transaction can be cancelled. If true, an extra nullifier will be emitted: H(nonce, GENERATOR_INDEX__TX_NULLIFIER) */
@@ -92,33 +90,54 @@ export abstract class BaseContractInteraction {
`Estimated gas limits for tx: DA=${gasLimits.daGas} L2=${gasLimits.l2Gas} teardownDA=${teardownGasLimits.daGas} teardownL2=${teardownGasLimits.l2Gas}`,
0 commit comments