mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 17:26:04 +00:00
Light client updates by range RPC (#6383)
* enable lc update over rpc * resolve TODOs * resolve merge conflicts * move max light client updates to eth spec * Merge branch 'unstable' of https://github.com/sigp/lighthouse into light-client-updates-by-range-rpc * remove ethspec dependency * Update beacon_node/network/src/network_beacon_processor/rpc_methods.rs Co-authored-by: Michael Sproul <micsproul@gmail.com> * Update beacon_node/lighthouse_network/src/rpc/methods.rs Co-authored-by: Michael Sproul <micsproul@gmail.com>
This commit is contained in:
@@ -333,7 +333,7 @@ impl<E: EthSpec> EnvironmentBuilder<E> {
|
||||
eth2_network_config: Eth2NetworkConfig,
|
||||
) -> Result<Self, String> {
|
||||
// Create a new chain spec from the default configuration.
|
||||
self.eth2_config.spec = Arc::new(eth2_network_config.chain_spec::<E>()?);
|
||||
self.eth2_config.spec = eth2_network_config.chain_spec::<E>()?.into();
|
||||
self.eth2_network_config = Some(eth2_network_config);
|
||||
|
||||
Ok(self)
|
||||
|
||||
Reference in New Issue
Block a user