near / nearcore

Reference client for NEAR Protocol
https://near.org
GNU General Public License v3.0
2.31k stars 615 forks source link

Existence of validator signer should not be used to check is-validator condition #11821

Open tayfunelmas opened 1 month ago

tayfunelmas commented 1 month ago

See related thread: https://near.zulipchat.com/#narrow/stream/407237-core.2Fstateless-validation/topic/bug.20in.20tracked.20shards/near/452604183

In general a node could have a validator key and initialize the validator signer using it, but existence of validator signer should not be used to check if the node is currently a validator.