Skip to content

Commit 08ab6f9

Browse files
authored
fix: do not set static gas as it overrides not falls back (#158)
1 parent b8cd751 commit 08ab6f9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

local_tests.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ index a633cf3..1c398bb 100644
1010
+ gasEstimateMethod: 'replayEngine', //serviceValidator or replayEngine or validator
1111
gasEstimateInvalidationIntervalInMs: 1000 * 60 * 60 * 2, // 2 hours
1212
gasEstimateUseCache: false,
13-
- staticGasEstimate: process.env.STATIC_GAS_ESTIMATE || '0x5B8D80', // comment out rather than delete this line
14-
+ staticGasEstimate: '0x2DC6C0', // comment out rather than delete this line
13+
- staticGasEstimate: process.env.STATIC_GAS_ESTIMATE,
14+
+ staticGasEstimate: '0x2DC6C0',
1515
defaultRequestTimeout: {
1616
default: 2000,
1717
contract: 7000,

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export const CONFIG: Config = {
165165
gasEstimateMethod: process.env.GAS_ESTIMATE_METHOD || 'serviceValidator', //serviceValidator or replayEngine or validator
166166
gasEstimateInvalidationIntervalInMs: 1000 * 60 * 60 * 2, // 2 hours
167167
gasEstimateUseCache: false,
168-
staticGasEstimate: process.env.STATIC_GAS_ESTIMATE || '0x5B8D80', // comment out rather than delete this line
168+
staticGasEstimate: process.env.STATIC_GAS_ESTIMATE,
169169
defaultRequestTimeout: {
170170
default: 2000,
171171
contract: 7000,

0 commit comments

Comments
 (0)