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

Rename the concept of `Block` to the `paddedBytes` for more clarity

Open
#468 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
cryptography

Research direction

Search the TypeScript repository for uses of Block and inspect the SHA256-related code where it represents 64-byte chunks. Rename the concept consistently to paddedBytes, update affected references and tests, and confirm the test suite passes.

Written by the indexing model from the issue text.

Description

Is your feature request related to a problem? Please describe.

Not a problem but more logical understanding of the code. During a PR review it's discussed that Block meant a different understanding in our domain. In our code base it's represents the chunks of 64 bytes used by the SHA256 for hashing.

Describe the solution you'd like

Would be really nice to rename this concept to paddedBytes which will be easy to understand.

Additional context

https://github.com/ChainSafe/ssz/pull/409#discussion_r1966019825

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.