Migrate the deposit_contract crate to alloy (#8139)

https://github.com/sigp/lighthouse/issues/6022


  Switches the `deposit_contract` crate to use the `alloy` ecosystem and removes the dependency on `ethabi`


Co-Authored-By: Mac L <mjladson@pm.me>
This commit is contained in:
Mac L
2025-11-11 10:52:46 +04:00
committed by GitHub
parent b3df0d1985
commit 11d1f60753
4 changed files with 148 additions and 262 deletions

View File

@@ -32,7 +32,7 @@ pub enum Error {
UnableToReadDepositAmount(io::Error),
UnableToParseDepositAmount(std::num::ParseIntError),
DepositAmountIsNotUtf8(std::string::FromUtf8Error),
UnableToParseDepositData(deposit_contract::DecodeError),
UnableToParseDepositData(deposit_contract::Error),
Eth1TxHashExists(PathBuf),
UnableToWriteEth1TxHash(io::Error),
/// The deposit root in the deposit data file does not match the one generated locally. This is