Skip to content

docs: fix TransactionEnvironment docstring#2936

Open
nanookclaw wants to merge 2 commits into
ethereum:forks/amsterdamfrom
nanookclaw:fix/transaction-environment-docstring
Open

docs: fix TransactionEnvironment docstring#2936
nanookclaw wants to merge 2 commits into
ethereum:forks/amsterdamfrom
nanookclaw:fix/transaction-environment-docstring

Conversation

@nanookclaw
Copy link
Copy Markdown

Summary

Fixes the TransactionEnvironment docstring in the Berlin VM module so it describes transaction-level processing instead of repeating the Message wording about contract creation or message calls.

The issue points to this as a copy-paste error from Message; this PR keeps the change scoped to that documented Berlin fork location and leaves behavior untouched.

Closes #2929

Verification

  • uv run ruff format --check src/ethereum/forks/berlin/vm/__init__.py
  • uv run ruff check src/ethereum/forks/berlin/vm/__init__.py
  • git diff --check

@SamWilsn SamWilsn force-pushed the fix/transaction-environment-docstring branch from 60cf60c to 02ab39f Compare June 1, 2026 15:58
@SamWilsn SamWilsn force-pushed the fix/transaction-environment-docstring branch from 02ab39f to 2aa2254 Compare June 1, 2026 15:58
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.49%. Comparing base (d7def91) to head (2aa2254).

Additional details and impacted files
@@               Coverage Diff                @@
##           forks/amsterdam    #2936   +/-   ##
================================================
  Coverage            90.49%   90.49%           
================================================
  Files                  535      535           
  Lines                32430    32430           
  Branches              3012     3012           
================================================
  Hits                 29349    29349           
  Misses                2563     2563           
  Partials               518      518           
Flag Coverage Δ
unittests 90.49% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix docstring for TransactionEnvironment

2 participants