We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6ae0bd commit d00450bCopy full SHA for d00450b
packages/beacon-node/src/execution/builder/cache.ts
@@ -10,6 +10,11 @@ export type ValidatorRegistration = {
10
};
11
12
export class ValidatorRegistrationCache {
13
+ /**
14
+ * Map to track registrations by validator pubkey which is used here instead of
15
+ * validator index as `bellatrix.ValidatorRegistrationV1` does not contain the index
16
+ * and builder flow in general prefers to use pubkey over index.
17
+ */
18
private readonly registrationByValidatorPubkey: Map<string, ValidatorRegistration>;
19
constructor() {
20
this.registrationByValidatorPubkey = new Map();
0 commit comments