Bump json-serialization and nimbus-eth2 (#2049)

* Bump json-serialization and nimbus-eth2

* Remove deprecated ValidIpAddress usage
This commit is contained in:
andri lim 2024-02-22 12:15:25 +07:00 committed by GitHub
parent f2694d86e0
commit 3a1b0d8674
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
# at your option. This file may not be copied, modified, or distributed except according to those terms.
import
std/[atomics, json, os, strutils],
std/[atomics, json, os, strutils, net],
../nimbus_verified_proxy,
../nimbus_verified_proxy_conf
@ -34,7 +34,7 @@ proc runContext(ctx: ptr Context) {.thread.} =
let rpcAddr = jsonNode["RpcAddress"].getStr()
let myConfig = VerifiedProxyConf(
rpcAddress: ValidIpAddress.init(rpcAddr),
rpcAddress: parseIpAddress(rpcAddr),
listenAddress: defaultListenAddress,
eth2Network: some(jsonNode["Eth2Network"].getStr()),
trustedBlockRoot: Eth2Digest.fromHex(jsonNode["TrustedBlockRoot"].getStr()),

@ -1 +1 @@
Subproject commit d9394dc7286064902d825bbc1203d03d7218633a
Subproject commit c869dae884336e1bca134ccb8ea1a37517d16a29

2
vendor/nimbus-eth2 vendored

@ -1 +1 @@
Subproject commit dca444bea7565a1d02b64aa6c9b588627187c345
Subproject commit 3863373575c89e172a734ba71cf516c572288a54