make clearn-medalla will preserve your validator files
This commit is contained in:
parent
99e330d014
commit
21b5ad3259
4
Makefile
4
Makefile
|
@ -250,7 +250,9 @@ medalla-deposit: | beacon_node deposit_contract
|
|||
--ask-for-key
|
||||
|
||||
clean-medalla:
|
||||
rm -rf build/data/shared_medalla*
|
||||
rm -rf build/data/shared_medalla*/db
|
||||
rm -rf build/data/shared_medalla*/dump
|
||||
rm -rf build/data/shared_medalla*/*.log
|
||||
|
||||
altona: | beacon_node
|
||||
build/beacon_node \
|
||||
|
|
|
@ -197,7 +197,7 @@ func readSszValue*[T](input: openarray[byte], val: var T) {.raisesssz.} =
|
|||
readSszValue(input.toOpenArray(offset, input.len - 1), val[resultLen - 1])
|
||||
|
||||
# TODO: Should be possible to remove BitArray from here
|
||||
elif val is UintN|bool|enum:
|
||||
elif val is UintN|bool:
|
||||
trs "READING BASIC TYPE ", typetraits.name(T), " input=", input.len
|
||||
val = fromSszBytes(T, input)
|
||||
trs "RESULT WAS ", repr(val)
|
||||
|
|
|
@ -161,6 +161,8 @@ p2pProtocol BeaconSync(version = 1,
|
|||
|
||||
proc beaconBlocksByRoot(
|
||||
peer: Peer,
|
||||
# Please note that the SSZ list here ensures that the
|
||||
# spec constant MAX_REQUEST_BLOCKS is enforced:
|
||||
blockRoots: BlockRootsList,
|
||||
response: MultipleChunksResponse[SignedBeaconBlock])
|
||||
{.async, libp2pProtocol("beacon_blocks_by_root", 1).} =
|
||||
|
|
Loading…
Reference in New Issue