forked from shardeum/json-rpc-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocal_tests.patch
More file actions
17 lines (17 loc) · 881 Bytes
/
local_tests.patch
File metadata and controls
17 lines (17 loc) · 881 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/src/config.ts b/src/config.ts
index a633cf3..1c398bb 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -137,10 +137,10 @@ export const CONFIG: Config = {
generateTxTimestamp: true,
nodelistRefreshInterval: Number(process.env.NODELIST_REFRESH_INTERVAL) || 30000,
defaultRequestRetry: 5,
- gasEstimateMethod: process.env.GAS_ESTIMATE_METHOD || 'serviceValidator', //serviceValidator or replayEngine or validator
+ gasEstimateMethod: 'replayEngine', //serviceValidator or replayEngine or validator
gasEstimateInvalidationIntervalInMs: 1000 * 60 * 60 * 2, // 2 hours
gasEstimateUseCache: false,
- staticGasEstimate: process.env.STATIC_GAS_ESTIMATE || '0x5B8D80', // comment out rather than delete this line
+ staticGasEstimate: '0x2DC6C0', // comment out rather than delete this line
defaultRequestTimeout: {
default: 2000,
contract: 7000,