@defillama/sdk 5.0.212 → 5.0.213
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.
package/build/util/blocks.js
CHANGED
|
@@ -132,7 +132,7 @@ const intialBlocks = {
|
|
|
132
132
|
};
|
|
133
133
|
let lastBlockCacheSave = Date.now();
|
|
134
134
|
const blockCacheSaveInterval = 1000 * 60 * 5; // 5 minutes
|
|
135
|
-
const { data: blockTimeCache, saveCacheFile: saveBlockCacheFile } = (0, cache_1.getTempLocalCache)({ file: 'BlockCache.json', defaultData: {}, clearAfter: cache_1.ONE_WEEK, returnWithSaveFunction: true });
|
|
135
|
+
const { data: blockTimeCache, saveCacheFile: saveBlockCacheFile } = (0, cache_1.getTempLocalCache)({ file: 'BlockCache-v1.json', defaultData: {}, clearAfter: cache_1.ONE_WEEK, returnWithSaveFunction: true });
|
|
136
136
|
function validateCurrentBlock(block, chain = 'ethereum') {
|
|
137
137
|
// sometimes the chain is halted or facing issues, so we skip the validation for those chains
|
|
138
138
|
if ((0, env_1.shouldSkipBlockValidation)(chain))
|
|
@@ -160,6 +160,7 @@
|
|
|
160
160
|
"ethereumclassic": "EthereumClassic",
|
|
161
161
|
"ethf": "ETHF",
|
|
162
162
|
"ethpow": "EthereumPoW",
|
|
163
|
+
"etica": "Etica",
|
|
163
164
|
"etlk": "Etherlink",
|
|
164
165
|
"etn": "Electroneum",
|
|
165
166
|
"europa": "SKALE Europa",
|
|
@@ -407,6 +408,7 @@
|
|
|
407
408
|
"renec": "RENEC",
|
|
408
409
|
"reya": "ReyaChain",
|
|
409
410
|
"ripple": "XRPL",
|
|
411
|
+
"rise": "RISE",
|
|
410
412
|
"robonomics": "Robonomics",
|
|
411
413
|
"rollux": "Rollux",
|
|
412
414
|
"ronin": "Ronin",
|
|
@@ -708,6 +710,7 @@
|
|
|
708
710
|
"EthereumClassic": "ethereumclassic",
|
|
709
711
|
"EthereumPoW": "ethpow",
|
|
710
712
|
"Etherlink": "etlk",
|
|
713
|
+
"Etica": "etica",
|
|
711
714
|
"Europa": "europa",
|
|
712
715
|
"Eventum": "eventum",
|
|
713
716
|
"Everclear": "everclear",
|
|
@@ -963,6 +966,7 @@
|
|
|
963
966
|
"REI": "rei",
|
|
964
967
|
"REIchain": "reichain",
|
|
965
968
|
"RENEC": "renec",
|
|
969
|
+
"RISE": "rise",
|
|
966
970
|
"RSK": "rsk",
|
|
967
971
|
"RSS3": "rss3_vsl",
|
|
968
972
|
"Radix": "radixdlt",
|