Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Allow to provide override values to `defaultValue()`

Open
#360 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
65/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
backend

Research direction

Start by locating ValidatorContainer.defaultValue and the tests covering default-value generation. Verify that callers can provide partial override values, unspecified values still receive defaults, and the testing-data use case is covered by the tests.

Written by the indexing model from the issue text.

Description

meta-good-first-issue prio-low

It would be useful to directly provide overrides to defaultValue, e.g.

const validator = ValidatorContainer.defaultValue({activationEligibilityEpoch: 10, ...});

and missing values use defaults. This makes generating testing data a bit easier and look cleaner.

Dominant language
TypeScript
Stars
62
Forks
27
Avg merge
19h 2m
Merged PRs (30d)
6

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ChainSafe/ssz

All issues in ChainSafe/ssz

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.