prysm-pulse/validator
Manu NALEPA a94f2b93e3
filterAndCacheActiveKeys: Stop filtering out exiting validators (#13305)
* `filterAndCacheActiveKeys`: Add test cases

- Validator is in unknown status (to be fitered out)
- Validator is in pending status,
   with activation period > current period (to be filtered out)
- Validator is in pending status,
   with activation period == current period (to be kept)

* `filterAndCacheActiveKeys`: Keep exiting keys

Initially:
-------
If a validator is in exiting (so, with status==EXITING != ACTIVE) state,
it will be filtered out by the `filterAndCacheActiveKeys` function.
The validator won't be registered to the beacon node.

If this exiting validator has to propose a block:
- the block will be proposed using local block building only.
- the fee recipient will be the one set in the beacon node.

(Additionally, if the beacon node Prysm without any
fee recipient defined at the beacon node level, the fee recipient
will default on the `0x00000...` burn address.)

This commit modifies the `filterAndCacheActiveKeys` function
by stopping filtering out exiting validators.
2023-12-09 07:53:08 +00:00
..
accounts Remove API Middleware (#13243) 2023-12-04 11:55:21 +00:00
client filterAndCacheActiveKeys: Stop filtering out exiting validators (#13305) 2023-12-09 07:53:08 +00:00
db Make Prysm VC compatible with the version v5.3.0 of the slashing protections interchange tests. (#13232) 2023-12-04 17:10:32 +00:00
graffiti Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
helpers Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
keymanager Validator client: remove blob signing (#13169) 2023-11-03 12:10:15 -07:00
node APIs: reusing grpc cors middleware for rest (#13284) 2023-12-08 04:24:18 +00:00
package Update cross compile toolchains (#12069) 2023-03-07 20:09:46 +00:00
rpc HTTP endpoints cleanup (#13251) 2023-12-08 20:37:20 +00:00
slashing-protection-history Make Prysm VC compatible with the version v5.3.0 of the slashing protections interchange tests. (#13232) 2023-12-04 17:10:32 +00:00
testing Fix staticcheck violations (#13301) 2023-12-08 13:07:52 +00:00
web HTTP validator API: beacon and account endpoints (#13191) 2023-12-01 20:40:09 +00:00
README.md Change Eth2 Repository Names (#9425) 2021-08-19 13:00:57 -05:00

Prysmatic Labs Validator Client Implementation

This is the main project folder for a validator client implementation of Ethereum written in Go by Prysmatic Labs. A validator client attaches to a running beacon node in order to perform proposer/attester responsibilities for eth.

You can also read our main README and join our active chat room on Discord.

Discord

To further understand the responsibilities of an Ethereum validator, we recommend reading the official specification here