You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not a security-related bug/issue. If it is, please follow please follow the security policy.
I have searched on the issue tracker and the lotus forum, and there is no existing related issue or discussion.
I am running the Latest release, the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.
I did not make any code changes to lotus.
Lotus component
lotus daemon - chain sync
lotus fvm/fevm - Lotus FVM and FEVM interactions
lotus miner/worker - sealing
lotus miner - proving(WindowPoSt/WinningPoSt)
lotus JSON-RPC API
lotus message management (mpool)
Other
Lotus Version
I’m not actually running lotus, but have been informed of the error by operators. It was first reported by why on 2023-01-31, so likely versions from v1.19.0 onwards are affected (see: https://filecoinproject.slack.com/archives/CP50PPW2X/p1675119689004949)
Repro Steps
No response
Describe the Bug
Periodic BLS: invalid signature errors are being emitted from the drand client due to inclusion of devnet endpoints in the production config.
The incentinet config (erroneously) lists the drand devnet (which has no liveness or support guarantees) as its endpoint: https://github.com/filecoin-project/lotus/blob/v1.20.3/build/drand.go#L71-L77
Additionally, it seems that blocks from 0-51000 were generated using this devnet:
The BLS signature errors happen when the drand client tries speedtesting different endpoints in the background, and tries to validate devnet beacons using the mainnet public key (as their public keys are different).
It doesn't appear to actually be breaking anything, but it may scare operators when they see errors in their logs.
This is not the first time that drand past network config causes confusion. See eg #4125 (but different cause and solution).
The bug description is accurate but I would suggest that the listing of wrong endpoints is a distraction, even if it triggered the log entries. Rather, we should be ignoring endpoints for past networks, and probably not require them to remain in the config in the first place. There is no point in speed-checking an endpoint from which you won't need fast randomness in the present or future, and they may no longer be active at all.
The ChanInfo must, of course, remain, so that we can validate old on-chain randomness.
Checklist
Latest release
, the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.Lotus component
Lotus Version
Repro Steps
No response
Describe the Bug
Periodic
BLS: invalid signature
errors are being emitted from the drand client due to inclusion of devnet endpoints in the production config.The incentinet config (erroneously) lists the drand devnet (which has no liveness or support guarantees) as its endpoint: https://github.com/filecoin-project/lotus/blob/v1.20.3/build/drand.go#L71-L77
Additionally, it seems that blocks from 0-51000 were generated using this devnet:
lotus/build/params_mainnet.go
Lines 18 to 21 in dcb49dc
The BLS signature errors happen when the drand client tries speedtesting different endpoints in the background, and tries to validate devnet beacons using the mainnet public key (as their public keys are different).
It doesn't appear to actually be breaking anything, but it may scare operators when they see errors in their logs.
Logging Information
The text was updated successfully, but these errors were encountered: