Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incoming: improve a log message #7181

Merged
merged 1 commit into from
Aug 26, 2021
Merged

Incoming: improve a log message #7181

merged 1 commit into from
Aug 26, 2021

Conversation

arajasek
Copy link
Contributor

Something I had lying around

@arajasek arajasek requested a review from a team as a code owner August 25, 2021 16:26
@@ -308,7 +308,7 @@ func (bv *BlockValidator) Validate(ctx context.Context, pid peer.ID, msg *pubsub
return pubsub.ValidationReject
}

log.Warnf("cannot validate block message; unknown miner or miner that doesn't meet min power in unsynced chain")
log.Warnf("cannot validate block message; unknown miner or miner that doesn't meet min power in unsynced chain: %s", blk.Header.Cid())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I'd consider including the miner as well)

@codecov
Copy link

codecov bot commented Aug 25, 2021

Codecov Report

Merging #7181 (bdd1c36) into master (1dbfa9c) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7181      +/-   ##
==========================================
- Coverage   34.74%   34.69%   -0.05%     
==========================================
  Files         685      685              
  Lines       80188    80188              
==========================================
- Hits        27858    27820      -38     
- Misses      46656    46701      +45     
+ Partials     5674     5667       -7     
Impacted Files Coverage Δ
chain/sub/incoming.go 49.70% <0.00%> (ø)
chain/actors/builtin/market/v4.go 20.86% <0.00%> (-15.66%) ⬇️
chain/stmgr/call.go 62.00% <0.00%> (-4.00%) ⬇️
node/hello/hello.go 63.21% <0.00%> (-3.45%) ⬇️
miner/miner.go 51.65% <0.00%> (-2.65%) ⬇️
chain/actors/builtin/miner/v4.go 38.39% <0.00%> (-1.86%) ⬇️
extern/sector-storage/sched.go 83.05% <0.00%> (-1.66%) ⬇️
extern/storage-sealing/fsm.go 55.42% <0.00%> (-1.21%) ⬇️
chain/gen/gen.go 66.37% <0.00%> (-1.18%) ⬇️
chain/vm/vm.go 59.47% <0.00%> (-1.12%) ⬇️
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1dbfa9c...bdd1c36. Read the comment docs.

@Stebalien Stebalien merged commit 8bcd917 into master Aug 26, 2021
@Stebalien Stebalien deleted the asr/log branch August 26, 2021 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants