Remove raises Exception and bump nim-eth (#2729)

This commit is contained in:
Kim De Mey 2021-07-19 14:25:11 +02:00 committed by GitHub
parent 9d9c37c561
commit 3e3e17fec3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -645,7 +645,7 @@ proc setEventHandlers(p: ProtocolInfo,
p.onPeerConnected = onPeerConnected p.onPeerConnected = onPeerConnected
p.onPeerDisconnected = onPeerDisconnected p.onPeerDisconnected = onPeerDisconnected
proc implementSendProcBody(sendProc: SendProc) {.raises: [Exception].} = proc implementSendProcBody(sendProc: SendProc) =
let let
msg = sendProc.msg msg = sendProc.msg
UntypedResponse = bindSym "UntypedResponse" UntypedResponse = bindSym "UntypedResponse"

View File

@ -122,7 +122,7 @@ suite "Eth2 specific discovery tests":
check node2.updateRecord( check node2.updateRecord(
{"eth2": SSZ.encode(enrForkId), "attnets": SSZ.encode(attnets)}).isOk() {"eth2": SSZ.encode(enrForkId), "attnets": SSZ.encode(attnets)}).isOk()
let nodes = await node1.findNode(node2.localNode, @[0'u32]) let nodes = await node1.findNode(node2.localNode, @[0'u16])
check nodes.isOk() and nodes[].len > 0 check nodes.isOk() and nodes[].len > 0
discard node1.addNode(nodes[][0]) discard node1.addNode(nodes[][0])

2
vendor/nim-eth vendored

@ -1 +1 @@
Subproject commit 2dfd352fd0635171f8cb9a86db94b352d63012e5 Subproject commit a8d11dd30bf0b844e049702353addbbca803845c