mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-12 21:34:33 +00:00
Bump json-serialization and nimbus-eth2 (#2049)
* Bump json-serialization and nimbus-eth2 * Remove deprecated ValidIpAddress usage
This commit is contained in:
parent
f2694d86e0
commit
3a1b0d8674
@ -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()),
|
||||
|
2
vendor/nim-json-serialization
vendored
2
vendor/nim-json-serialization
vendored
@ -1 +1 @@
|
||||
Subproject commit d9394dc7286064902d825bbc1203d03d7218633a
|
||||
Subproject commit c869dae884336e1bca134ccb8ea1a37517d16a29
|
2
vendor/nimbus-eth2
vendored
2
vendor/nimbus-eth2
vendored
@ -1 +1 @@
|
||||
Subproject commit dca444bea7565a1d02b64aa6c9b588627187c345
|
||||
Subproject commit 3863373575c89e172a734ba71cf516c572288a54
|
Loading…
x
Reference in New Issue
Block a user