Fix some build problems and warnings
This commit is contained in:
parent
8760494c72
commit
b6c9de968f
|
@ -16,14 +16,14 @@ import
|
|||
chronicles,
|
||||
|
||||
# Local modules
|
||||
spec/[datatypes, crypto, helpers],
|
||||
spec/[datatypes, crypto, digest, helpers],
|
||||
conf, time, beacon_chain_db, sszdump,
|
||||
attestation_pool, block_pool, eth2_network,
|
||||
beacon_node_types, mainchain_monitor, request_manager
|
||||
|
||||
# TODO figure out how to silence the `unused pragma` warning for specific builds of this
|
||||
# https://discordapp.com/channels/613988663034118151/614014714590134292/713053239297179668
|
||||
import spec/digest
|
||||
# This removes an invalid Nim warning that the digest module is unused here
|
||||
# It's currently used for `shortLog(head.blck.root)`
|
||||
type Eth2Digest = digest.Eth2Digest
|
||||
|
||||
type
|
||||
RpcServer* = RpcHttpServer
|
||||
|
|
|
@ -83,7 +83,7 @@ var BeaconSyncProtocolObj = initProtocol("BeaconSync", createPeerState[Peer,
|
|||
ref[BeaconSyncPeerState:ObjectType]], createNetworkState[Eth2Node,
|
||||
ref[BeaconSyncNetworkState:ObjectType]])
|
||||
var BeaconSyncProtocol = addr BeaconSyncProtocolObj
|
||||
template protocolInfo*(P`gensym187610300: type BeaconSync): auto =
|
||||
template protocolInfo*(PROTO: type BeaconSync): auto =
|
||||
BeaconSyncProtocol
|
||||
|
||||
proc status*(peer: Peer; theirStatus: StatusMsg;
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 218192aa0900518ebc65a1d53efb3be0667628c5
|
||||
Subproject commit ff546d27c3e65df806e499a17e1918a545522094
|
|
@ -1 +1 @@
|
|||
Subproject commit a333eb080f89a035415a17d583a651d40b309b12
|
||||
Subproject commit cf837b3fb6108f666c76523688178d3c2dd9ba93
|
Loading…
Reference in New Issue