Skip to content

[EVM Reader] Substitute the use of Websocket subscription by a Polling strategy聽#527

Description

@fmoura

馃摎 Context

The use of Websocket subscription shows lots of problems when used against APIs like Alchemy and Infura.

鉁旓笍 Solution

The safest approach is to use a polling strategy instead. So the loop to check for new inputs should ditch the "New head events" in favor of a time based one. The polling rate must be configurable

Subtasks

-[ ] Also improve "getLastBlock" call. Move it outside App Group loop

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions