dkg.js 8.2.0 → 8.2.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.
@@ -192,6 +192,21 @@ export default class InputService {
192
192
  BLOCKCHAINS[environment][name]?.gasPriceOracleLink ??
193
193
  undefined;
194
194
 
195
+ const maxAllowance =
196
+ options.blockchain?.maxAllowance ?? this.config.blockchain?.maxAllowance ?? undefined;
197
+ const gasPriceBufferPercent =
198
+ options.blockchain?.gasPriceBufferPercent ??
199
+ this.config.blockchain?.gasPriceBufferPercent ??
200
+ undefined;
201
+ const priorityFeePercentile =
202
+ options.blockchain?.priorityFeePercentile ??
203
+ this.config.blockchain?.priorityFeePercentile ??
204
+ undefined;
205
+ const retryTxGasPriceMultiplier =
206
+ options.blockchain?.retryTxGasPriceMultiplier ??
207
+ this.config.blockchain?.retryTxGasPriceMultiplier ??
208
+ DEFAULT_PARAMETERS.RETRY_TX_GAS_PRICE_MULTIPLIER; // e.g., 1.2
209
+
195
210
  const blockchainConfig = {
196
211
  name,
197
212
  rpc,
@@ -205,6 +220,10 @@ export default class InputService {
205
220
  simulateTxs,
206
221
  forceReplaceTxs,
207
222
  gasPriceOracleLink,
223
+ maxAllowance,
224
+ gasPriceBufferPercent,
225
+ priorityFeePercentile,
226
+ retryTxGasPriceMultiplier,
208
227
  };
209
228
 
210
229
  if (name && name.startsWith('otp')) {