@defillama/sdk 5.0.130 → 5.0.131
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.
|
@@ -106,12 +106,12 @@ class LlamaProvider extends ethers_1.FallbackProvider {
|
|
|
106
106
|
runners.splice(1, 0, primaryRunner);
|
|
107
107
|
}
|
|
108
108
|
runners = runners.slice(0, attempts);
|
|
109
|
-
if (this.chainName === 'rsk' && method === 'getLogs') {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}
|
|
109
|
+
// if (this.chainName === 'rsk' && method === 'getLogs') {
|
|
110
|
+
// const hostString = getEnvValue('RSK_ARCHIVAL_RPC')
|
|
111
|
+
// if (!hostString)
|
|
112
|
+
// throw new Error('RSK public nodes dont support getLogs. need to set RSK_ARCHIVAL_RPC');
|
|
113
|
+
// (runners as any) = hostString.split(',').map(host => ({ url: host }))
|
|
114
|
+
// }
|
|
115
115
|
for (const runner of runners) {
|
|
116
116
|
try {
|
|
117
117
|
const result = await httpRPC[method](runner.url, params);
|