Skip to content

[pull] forks/amsterdam from ethereum:forks/amsterdam#159

Merged
pull[bot] merged 2 commits intoLuckQuack:forks/amsterdamfrom
ethereum:forks/amsterdam
Apr 8, 2026
Merged

[pull] forks/amsterdam from ethereum:forks/amsterdam#159
pull[bot] merged 2 commits intoLuckQuack:forks/amsterdamfrom
ethereum:forks/amsterdam

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Apr 8, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Kubudak89 and others added 2 commits April 7, 2026 23:44
…code_node functions (#2627)

* fix: Remove inaccurate 'unimplemented stub' comment from encode_node

The encode_node function in berlin/trie.py was documented as
'Currently mostly an unimplemented stub' but it is actually
fully implemented, handling Account, LegacyTransaction, Receipt,
U256, Uint, Bytes types, and falling back to previous_trie.encode_node.

This misleading docstring could confuse developers reading the code.

Fixes #1186

* fix: Remove inaccurate 'unimplemented stub' comments from all fork encode_node functions

The encode_node function is fully implemented across all Ethereum fork
implementations, handling Account, LegacyTransaction, Receipt, U256,
Uint, Bytes types, and falling back to previous_trie.encode_node.

However, 24 fork versions had docstrings claiming the function was
'Currently mostly an unimplemented stub', which is factually incorrect
and could mislead developers reading the code.

This commit removes the inaccurate comment from all affected forks:
amsterdam, arrow_glacier, bpo1-5, byzantium, cancun, constantinople,
dao_fork, frontier, gray_glacier, homestead, istanbul, london,
muir_glacier, osaka, paris, prague, shanghai, spurious_dragon,
tangerine_whistle

Fixes #1186

* Update trie.py

---------

Co-authored-by: Kubudak90 <kubudak@outlook.com>
Co-authored-by: Sam Wilson <57262657+SamWilsn@users.noreply.github.com>
@pull pull bot locked and limited conversation to collaborators Apr 8, 2026
@pull pull bot added the ⤵️ pull label Apr 8, 2026
@pull pull bot merged commit a352192 into LuckQuack:forks/amsterdam Apr 8, 2026
@pull pull bot had a problem deploying to github-pages April 8, 2026 08:19 Failure
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant