Currently run_aux in the eth-bridge-integration branch needs a hardcoded five JoinHandles to manage (tendermint node, ABCI server, broadcaster, Ethereum fullnode, oracle).
This means if we don't want to run the Ethereum fullnode and/or oracle, we still need to provide dummy JoinHandles that don't do anything. We could simplify our code by making run_aux work with only handles for mandatory components (i.e. tendermint node + ABCI server + broadcaster) so that we don't need to provide dummy handles for the Ethereum fullnode and/or oracle components if they aren't needed.
Currently
run_aux
in theeth-bridge-integration
branch needs a hardcoded fiveJoinHandle
s to manage (tendermint node, ABCI server, broadcaster, Ethereum fullnode, oracle).https://github.com/anoma/namada/blob/65fb781db1f5194de11a983a39b2166f40b7fb8f/apps/src/lib/node/ledger/mod.rs#L539-L545
This means if we don't want to run the Ethereum fullnode and/or oracle, we still need to provide dummy
JoinHandle
s that don't do anything. We could simplify our code by makingrun_aux
work with only handles for mandatory components (i.e. tendermint node + ABCI server + broadcaster) so that we don't need to provide dummy handles for the Ethereum fullnode and/or oracle components if they aren't needed.