Skip to content

Commit

Permalink
fix(patches): updated local setting patches
Browse files Browse the repository at this point in the history
  • Loading branch information
arhamj committed Oct 24, 2024
1 parent 03e59ff commit 546eace
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
11 changes: 6 additions & 5 deletions local_fast_refresh.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
diff --git a/src/config.ts b/src/config.ts
--- a/src/config.ts (revision e0fd622f7257642c37243f3da9303dfaa55c1872)
+++ b/src/config.ts (date 1713205409743)
@@ -131,8 +131,8 @@
index a633cf3..8c3df19 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -135,8 +135,8 @@ export const CONFIG: Config = {
explorerUrl: process.env.EXPLORER_URL || 'http://127.0.0.1:6001',
queryFromExplorer: false,
generateTxTimestamp: true,
- nodelistRefreshInterval: 30000,
- nodelistRefreshInterval: Number(process.env.NODELIST_REFRESH_INTERVAL) || 30000,
- defaultRequestRetry: 5,
+ nodelistRefreshInterval: 5000,
+ defaultRequestRetry: 10,
gasEstimateMethod: 'serviceValidator', //serviceValidator or replayEngine or validator
gasEstimateMethod: process.env.GAS_ESTIMATE_METHOD || 'serviceValidator', //serviceValidator or replayEngine or validator
gasEstimateInvalidationIntervalInMs: 1000 * 60 * 60 * 2, // 2 hours
gasEstimateUseCache: false,
10 changes: 5 additions & 5 deletions local_tests.patch
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
diff --git a/src/config.ts b/src/config.ts
index db6061c4..712ab94f 100644
index a633cf3..1c398bb 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -134,10 +134,10 @@ export const CONFIG: Config = {
@@ -137,10 +137,10 @@ export const CONFIG: Config = {
generateTxTimestamp: true,
nodelistRefreshInterval: 30000,
nodelistRefreshInterval: Number(process.env.NODELIST_REFRESH_INTERVAL) || 30000,
defaultRequestRetry: 5,
- gasEstimateMethod: 'serviceValidator', //serviceValidator or replayEngine or validator
- 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: '0x5B8D80', // comment out rather than delete this line
- 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,
Expand Down

0 comments on commit 546eace

Please sign in to comment.