diff --git a/beacon_chain/beacon_node.nim b/beacon_chain/beacon_node.nim index f49c29b1c..b25de1426 100644 --- a/beacon_chain/beacon_node.nim +++ b/beacon_chain/beacon_node.nim @@ -952,7 +952,7 @@ programMain: [toFieldPair("eth2", SSZ.encode(enrForkIdFromState initialState[])), toFieldPair("attnets", SSZ.encode(metadata.attnets))]) - writeFile(bootstrapFile, bootstrapEnr.toURI) + writeFile(bootstrapFile, bootstrapEnr.tryGet().toURI) echo "Wrote ", bootstrapFile of importValidator: diff --git a/beacon_chain/eth2_network.nim b/beacon_chain/eth2_network.nim index a0f28adb9..5f761fa21 100644 --- a/beacon_chain/eth2_network.nim +++ b/beacon_chain/eth2_network.nim @@ -988,7 +988,7 @@ proc createEth2Node*(conf: BeaconNodeConf, enrForkId: ENRForkID): Future[Eth2Nod keys.seckey.asEthKey) proc getPersistenBootstrapAddr*(conf: BeaconNodeConf, - ip: IpAddress, port: Port): enr.Record = + ip: IpAddress, port: Port): EnrResult[enr.Record] = let pair = getPersistentNetKeys(conf) return enr.Record.init(1'u64, # sequence number pair.seckey.asEthKey, diff --git a/vendor/nim-eth b/vendor/nim-eth index 205b57fe7..f730557ba 160000 --- a/vendor/nim-eth +++ b/vendor/nim-eth @@ -1 +1 @@ -Subproject commit 205b57fe718f18d37d7dfa65cec6799c36fc8b7d +Subproject commit f730557baa415cfe689ac28f322dedf3deb99a2e diff --git a/vendor/nim-libp2p b/vendor/nim-libp2p index c88922401..87e1f3c61 160000 --- a/vendor/nim-libp2p +++ b/vendor/nim-libp2p @@ -1 +1 @@ -Subproject commit c88922401256cd6eb4c4bbdfdfe268456ab19e04 +Subproject commit 87e1f3c61fe65f28be6e5383df81111c58b9fd76 diff --git a/vendor/nim-stew b/vendor/nim-stew index 8065e36c5..21bcf97e2 160000 --- a/vendor/nim-stew +++ b/vendor/nim-stew @@ -1 +1 @@ -Subproject commit 8065e36c5af31f2f3f3b0d9ea242ae4eef193a30 +Subproject commit 21bcf97e26f59d4865a1ca8079da478e7bf7df3c