This bounty is no longer available
Web3 DAO | Ethereum Foundation Logo

portal-bridge: Pass bridge node arguments via `portal-bridge` CLI

Organization

Ethereum Foundation

Deadline

N/A

Status

ENDED


INSTRUCTIONS

When we run portal-bridge, we spin trin or fluffy bridge node alongside the service that queries the data from EL and CL nodes. Then we use this bridge node to gossip the data to the rest of the network.

Currently, this bridge node runs with a hard-coded arguments: https://github.com/ethereum/trin/blob/633e53bd1464538ce984b14082b86f289ff9026e/portal-bridge/src/client_handles.rs#L18

What we would like is to be able to modify most of those arguments via the portal-bridge CLI here https://github.com/ethereum/trin/blob/633e53bd1464538ce984b14082b86f289ff9026e/portal-bridge/src/cli.rs#L20

For example, this can be useful when we want to run the portal-bridge node locally and if we want to connect the bridge node to a local or specific public bootnode.