mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-23 11:48:33 +00:00
ignore sqlite WAL journals in git; increase logging priority of attestation/block sending (#1590)
* ignore sqlite WAL journal files in git; switch attestation resolved from info to debug * promote sent attestations/blocks to notice rather than demote resolved attestations/blocks to debug
This commit is contained in:
parent
ab255662df
commit
02ddc41960
2
.gitignore
vendored
2
.gitignore
vendored
@ -30,6 +30,8 @@ build/
|
|||||||
*.ssz
|
*.ssz
|
||||||
*.log
|
*.log
|
||||||
*.sqlite3
|
*.sqlite3
|
||||||
|
*.sqlite3-shm
|
||||||
|
*.sqlite3-wal
|
||||||
|
|
||||||
/local_testnet_data*/
|
/local_testnet_data*/
|
||||||
/local_testnet*_data*/
|
/local_testnet*_data*/
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
import
|
import
|
||||||
# Standard library
|
# Standard library
|
||||||
std/[sequtils, sets, tables, typetraits],
|
std/[sequtils, sets, tables],
|
||||||
# Status libraries
|
# Status libraries
|
||||||
stew/results, chronicles,
|
stew/results, chronicles,
|
||||||
# Internal
|
# Internal
|
||||||
|
@ -152,7 +152,7 @@ proc createAndSendAttestation(node: BeaconNode,
|
|||||||
if node.config.dumpEnabled:
|
if node.config.dumpEnabled:
|
||||||
dump(node.config.dumpDirOutgoing, attestation.data, validator.pubKey)
|
dump(node.config.dumpDirOutgoing, attestation.data, validator.pubKey)
|
||||||
|
|
||||||
info "Attestation sent",
|
notice "Attestation sent",
|
||||||
attestation = shortLog(attestation),
|
attestation = shortLog(attestation),
|
||||||
validator = shortLog(validator),
|
validator = shortLog(validator),
|
||||||
indexInCommittee = indexInCommittee
|
indexInCommittee = indexInCommittee
|
||||||
@ -249,7 +249,7 @@ proc proposeSignedBlock*(node: BeaconNode,
|
|||||||
|
|
||||||
return head
|
return head
|
||||||
|
|
||||||
info "Block proposed",
|
notice "Block proposed",
|
||||||
blck = shortLog(newBlock.message),
|
blck = shortLog(newBlock.message),
|
||||||
blockRoot = shortLog(newBlockRef[].root),
|
blockRoot = shortLog(newBlockRef[].root),
|
||||||
validator = shortLog(validator)
|
validator = shortLog(validator)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user