Remove raises Exception and bump nim-eth (#2729)
This commit is contained in:
parent
9d9c37c561
commit
3e3e17fec3
|
@ -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"
|
||||||
|
|
|
@ -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])
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 2dfd352fd0635171f8cb9a86db94b352d63012e5
|
Subproject commit a8d11dd30bf0b844e049702353addbbca803845c
|
Loading…
Reference in New Issue