log overall sent aggregated attestation message signatures (#2754)
* log overall sent aggregated attestation message signatures * log aggregated attestations via REST API
This commit is contained in:
parent
ca96a98131
commit
d638ca0c7f
|
@ -82,7 +82,8 @@ proc installValidatorApiHandlers*(rpcServer: RpcServer, node: BeaconNode) {.
|
|||
node.network.broadcast(
|
||||
getAggregateAndProofsTopic(node.dag.forkDigests.phase0), payload)
|
||||
notice "Aggregated attestation sent",
|
||||
attestation = shortLog(payload.message.aggregate)
|
||||
attestation = shortLog(payload.message.aggregate),
|
||||
signature = shortLog(payload.signature)
|
||||
|
||||
rpcServer.rpc("get_v1_validator_duties_attester") do (
|
||||
epoch: Epoch, public_keys: seq[ValidatorPubKey]) -> seq[AttesterDuties]:
|
||||
|
|
|
@ -290,6 +290,9 @@ proc installValidatorApiHandlers*(router: var RestRouter, node: BeaconNode) =
|
|||
$res.error())
|
||||
node.network.broadcast(
|
||||
getAggregateAndProofsTopic(node.dag.forkDigests.phase0), item)
|
||||
notice "Aggregated attestation sent",
|
||||
attestation = shortLog(item.message.aggregate),
|
||||
signature = shortLog(item.signature)
|
||||
|
||||
return RestApiResponse.jsonMsgResponse(AggregateAndProofValidationSuccess)
|
||||
|
||||
|
|
|
@ -580,6 +580,7 @@ proc broadcastAggregatedAttestations(
|
|||
notice "Aggregated attestation sent",
|
||||
attestation = shortLog(signedAP.message.aggregate),
|
||||
validator = shortLog(curr[0].v),
|
||||
signature = shortLog(signedAP.signature),
|
||||
aggregationSlot
|
||||
|
||||
proc updateValidatorMetrics*(node: BeaconNode) =
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
# Use only `secp256k1` public key cryptography as an identity in LibP2P.
|
||||
-d:"libp2p_pki_schemes=secp256k1"
|
Loading…
Reference in New Issue