Skip to content

Commit

Permalink
feat(rpc/admin): return deposit_contract_address for the admin_NodeIn…
Browse files Browse the repository at this point in the history
…fo RPC (paradigmxyz#12362)

Signed-off-by: jsvisa <[email protected]>
  • Loading branch information
jsvisa authored Nov 7, 2024
1 parent 6d05788 commit 581cef3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/rpc/rpc/src/admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ where
.get_final_paris_total_difficulty()
.is_some(),
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()
};

Expand Down

0 comments on commit 581cef3

Please sign in to comment.