mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(rpc/admin): return deposit_contract_address for the admin_NodeInfo RPC (#12362)
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
@ -115,6 +115,7 @@ where
|
|||||||
.get_final_paris_total_difficulty()
|
.get_final_paris_total_difficulty()
|
||||||
.is_some(),
|
.is_some(),
|
||||||
terminal_total_difficulty: self.chain_spec.fork(EthereumHardfork::Paris).ttd(),
|
terminal_total_difficulty: self.chain_spec.fork(EthereumHardfork::Paris).ttd(),
|
||||||
|
deposit_contract_address: self.chain_spec.deposit_contract().map(|dc| dc.address),
|
||||||
..self.chain_spec.genesis().config.clone()
|
..self.chain_spec.genesis().config.clone()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user