This commit is contained in:
Jacek Sieka 2020-05-09 16:47:14 +02:00 committed by GitHub
parent 55dfcc6783
commit 592d6f65c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -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:

View File

@ -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,

2
vendor/nim-eth vendored

@ -1 +1 @@
Subproject commit 205b57fe718f18d37d7dfa65cec6799c36fc8b7d
Subproject commit f730557baa415cfe689ac28f322dedf3deb99a2e

2
vendor/nim-libp2p vendored

@ -1 +1 @@
Subproject commit c88922401256cd6eb4c4bbdfdfe268456ab19e04
Subproject commit 87e1f3c61fe65f28be6e5383df81111c58b9fd76

2
vendor/nim-stew vendored

@ -1 +1 @@
Subproject commit 8065e36c5af31f2f3f3b0d9ea242ae4eef193a30
Subproject commit 21bcf97e26f59d4865a1ca8079da478e7bf7df3c