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

feat: expose DOMAIN_APPLICATION_MASK in config/spec api #7296

Merged
merged 2 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/beacon-node/src/api/impl/config/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
DEPOSIT_CONTRACT_TREE_DEPTH,
DOMAIN_AGGREGATE_AND_PROOF,
DOMAIN_APPLICATION_BUILDER,
DOMAIN_APPLICATION_MASK,
DOMAIN_BEACON_ATTESTER,
DOMAIN_BEACON_PROPOSER,
DOMAIN_BLS_TO_EXECUTION_CHANGE,
Expand Down Expand Up @@ -67,6 +68,7 @@ export const specConstants = {
DOMAIN_VOLUNTARY_EXIT,
DOMAIN_SELECTION_PROOF,
DOMAIN_AGGREGATE_AND_PROOF,
DOMAIN_APPLICATION_MASK,
DOMAIN_APPLICATION_BUILDER,

// phase0/validator.md
Expand Down
2 changes: 1 addition & 1 deletion packages/beacon-node/test/e2e/api/impl/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async function downloadRemoteConstants(commit: string): Promise<string[]> {
const constantNames: string[] = [];

for (const spec of await Promise.all(downloadedSpecs)) {
const matches = spec.matchAll(/\|\s`*([A-Z_]+)`\s\|/g);
const matches = spec.matchAll(/\|\s`*([A-Z_]+)`\s+\|/g);
for (const match of matches) {
constantNames.push(match[1]);
}
Expand Down
Loading