Add Holesky deposit contract address (#2915)

This commit is contained in:
andri lim 2024-12-06 17:06:52 +07:00 committed by GitHub
parent 90dd86be9a
commit 9b7e2960c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -497,6 +497,9 @@ func chainConfigForNetwork*(id: NetworkId): ChainConfig =
cancunTime: Opt.some(1_706_655_072.EthTime), # 2024-01-30 22:51:12
)
of HoleskyNet:
#https://github.com/eth-clients/holesky
const
HOLESKYNET_DEPOSIT_CONTRACT_ADDRESS = address"0x4242424242424242424242424242424242424242"
ChainConfig(
chainId: HoleskyNet.ChainId,
homesteadBlock: Opt.some(0.BlockNumber),
@ -514,6 +517,7 @@ func chainConfigForNetwork*(id: NetworkId): ChainConfig =
terminalTotalDifficultyPassed: Opt.some(true),
shanghaiTime: Opt.some(1_696_000_704.EthTime),
cancunTime: Opt.some(1_707_305_664.EthTime), # 2024-02-07 11:34:24
depositContractAddress: Opt.some(HOLESKYNET_DEPOSIT_CONTRACT_ADDRESS),
)
else:
ChainConfig()