Skip to content

eth-multi-client: implement our own package #2417

Description

@iurii-ssv

Currently we are using go-eth2-client - it is a forked repo because we need to have some functionality in there that's

Plus on top of that we also have implemented functions like multiClientSubmit that currently live in the SSV repo itself (and we might need to add more of SSV-specific functionality to multi-client in the future).

This is messy/error-prone to manage, so we probably want to create a dedicated multi-client package (perhaps in https://github.com/ssvlabs/ssv repo itself, or maybe just as a separate) and move all this code in there:

  • copy a bunch of stuff "as is" from go-eth2-client (not sure if we need to respect in some special way the "Apache License, Version 2.0" this code is under) into our own multi-client package, including those changes in multi-client: failover enhancements go-eth2-client#11
  • move some of our existing code in there (to keep it all in one place)
  • update all the multi-client usages in SSV node code that currently rely on go-eth2-client multi-client (to use our own instead)
  • and eventually we'll be able to get rid of our own go-eth2-client fork (use upstream lib as is)

cc @nkryuchkov (we already discussed it), @MatusKysel jfyi

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions