Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow to provide override values to defaultValue() #360

Open
nflaig opened this issue Mar 26, 2024 · 0 comments
Open

Allow to provide override values to defaultValue() #360

nflaig opened this issue Mar 26, 2024 · 0 comments

Comments

@nflaig
Copy link
Member

nflaig commented Mar 26, 2024

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants