@sentio/runtime 2.49.2-rc.1 → 2.49.2-rc.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/runtime",
3
- "version": "2.49.2-rc.1",
3
+ "version": "2.49.2-rc.3",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
package/src/provider.ts CHANGED
@@ -155,10 +155,7 @@ export class QueuedStaticJsonRpcProvider extends JsonRpcProvider {
155
155
  try {
156
156
  result = await perform
157
157
  } catch (e) {
158
- // if (e.code !== 'CALL_EXCEPTION' && e.code !== 'BAD_DATA') {
159
- if (this.#performCache.get(tag) === perform) {
160
- this.#performCache.delete(tag)
161
- }
158
+ this.#performCache.delete(tag)
162
159
  if (e.code === 'TIMEOUT') {
163
160
  let retryCount = this.#retryCache.get(tag)
164
161
  if (GLOBAL_CONFIG.execution.rpcRetryTimes && retryCount === undefined) {