Monthly Contribution - August 2024

Monthly Contribution - August 2024
Photo by Luca Bravo / Unsplash
💡
Opened 4 PRs, and 3 PRs were merged to Prysm
Opened 1 PR to EIPs

Prysm

#1

fix(tests): Correct misleading variable names and expressions in test files by syjn99 · Pull Request #14292 · prysmaticlabs/prysm
What type of PR is this? Other What does this PR do? Why is it needed? Fixed some misleading names and expressions in test files Which issues(s) does this PR fix? N/A Other notes for review This do…
  • Fixed test files that has some misleading lines.
    • e.g. in beacon-chain/rpc/prysm/v1alpha1/beacon/validators_test.go, there is a wrong assertion for length of the validator list.
  • My first contribution to Prysm! 😄
  • Opened at August 2nd, Merged at August 3rd.

#2

fix(tests): Fix v1alpha1/node/server_test.go by syjn99 · Pull Request #14321 · prysmaticlabs/prysm
What type of PR is this? Bug fix What does this PR do? Why is it needed? TestNodeServer_GetPeer often failed, because the first element of peer list is not guaranteed to be same with what MockPeers…
  • Fixed flaky tests in beacon-chain/p2p/testing/mock_peersprovider.go
    • Since iterating a map in Go is not guaranteed to be always same(see StackOverflow), tests are randomly failed.
  • Opened at August 8th, Merged at August 13th.

#3

docs: Add `consolidation_requests_root` on comment by syjn99 · Pull Request #14335 · prysmaticlabs/prysm
What type of PR is this? Documentation What does this PR do? Why is it needed? Add consolidation_requests_root initialization on comment. Which issues(s) does this PR fix? Other notes for review
  • Added a line of comment to be consistent with the actual implementation. (One line fix 😂)
  • Opened at August 13th, Merged at August 17th.

#4

fix: update p2p `metaData` file when it is changed by syjn99 · Pull Request #14401 · prysmaticlabs/prysm
What type of PR is this? Bug fix What does this PR do? Why is it needed? This PR addresses Issue #13586, where the beacon-chain does not update the metaData file as expected. The issue arises becau…
  • An issue(#13586) raised: p2p metaData file "never" updated after initialization. This matters to the users who provide --p2p-static-id flag. This flag is used to anchor their ID in the p2p network.
  • Referring to the consensus-specs, MetaData consists of two fields:
(
  seq_number: uint64
  attnets: Bitvector[ATTESTATION_SUBNET_COUNT]
)
    • NOTE: There is an additional field in post-altair(syncnets).
  • seq_number is used especailly when a node pings to its peers. If another node received a ping message with lower sequence number than it has, that node rejects this ping message.
    • NOTE: Each node maintains its own peer table, and the sequence number is also maintained in the table.
  • However, in the current implementation of Prysm, the sequence number is never updated: it means it remains 0 in the whole lifecycle. This can cause a significant issue with respect to p2p.
  • Opened at August 30th, Not yet merged.
    • Seems like they are refactoring p2p package.

EIPs

#1

Update EIP-7732: fix typos by syjn99 · Pull Request #8794 · ethereum/EIPs
fixed typo in EIP-7732.
  • I was investigating ePBS by reading EIP(link), found some typos.
  • Folks often wrongly type withdrawal to widthdrawal. (I did often too lol)

Read more

이더리움 코어 개발자가 된 이야기

이더리움 코어 개발자가 된 이야기

En: https://junsong.xyz/core-dev-journey/ 안녕하세요, 다소 늦은 커리어 업데이트입니다. 이번 6월부터, Offchain에 합류하게 되었습니다. 이더리움 CL 클라이언트 Prysm에서 이더리움 코어 개발 일을 정식으로 시작하게 되었습니다. 제 커리어에서 나름대로 중요한 마일스톤을 달성하게 되었습니다. 블록체인을 처음 접하고, 이쪽에서 커리어를 결심한 시점 (2022년 초반, 군 전역 후 복학한 시기)부터 제 목표는

By Jun Song
2026 (이른) 상반기 회고

2026 (이른) 상반기 회고

English version: https://junsong.xyz/2026-h1-retrospect 상반기가 마무리되기엔 아직 이른 이 시점, 쉼표를 찍기 좋은 지점인 것 같아 간단하게 회고록을 작성합니다. 저는 올해 대부분의 시간을 뉴욕에서 지내다가 얼마 전 한국에 다시 돌아왔습니다. 이번 회고는 뉴욕에서의 시간을 대부분 다룹니다. 지난 회고록들은 여기에서 확인해보실 수 있습니다. NYU 카이스트에서 제공하는 NYU 부전공 프로그램을

By Jun Song