Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ethereum-connector): support block monitoring with http only connection #2991

Merged
merged 1 commit into from
Jan 22, 2024

Commits on Jan 22, 2024

  1. feat(ethereum-connector): support block monitoring with http only con…

    …nection
    
    - Update web3.js to 4.4 (I was hoping to use requested by me `safeDisconnect`
        method, but it seem to be still unavailable in this version)
    - Support monitoring without websocket ethereum node access by using
        http polling method. Method is chosed automatically during runtime, based on
        supplied ethereum node URL.
    - Refactored `WatchBlocksV1Endpoint` into base class and child classes that
        implement monitoring strategies. `WatchBlocksV1Endpoint` is now instantiated
        with factory method. This will allow easier addition of
        new strategies in the future.
    - Add monitoring tests to ethereum connector pacakge, remove overlaping tests
        from verifier-integration-with-ethereum-connector.test.
    
    Signed-off-by: Michal Bajer <michal.bajer@fujitsu.com>
    outSH committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    4f0acfc View commit details
    Browse the repository at this point in the history