Skip to content

impl Display and Error for TxEnvBuildError and DeriveTxTypeError#3409

Merged
rakita merged 2 commits intobluealloy:mainfrom
Himess:fix/tx-env-build-error-impl
Feb 9, 2026
Merged

impl Display and Error for TxEnvBuildError and DeriveTxTypeError#3409
rakita merged 2 commits intobluealloy:mainfrom
Himess:fix/tx-env-build-error-impl

Conversation

@Himess
Copy link
Contributor

@Himess Himess commented Feb 7, 2026

Adds Display and Error trait implementations for TxEnvBuildError and DeriveTxTypeError, so they can be used with Box<dyn Error>, ? operator, and error chains.

Follows the existing pattern in the codebase (core::fmt::Display + core::error::Error).

Fixes #3404

@Himess Himess marked this pull request as draft February 7, 2026 20:56
@Himess Himess marked this pull request as ready for review February 7, 2026 21:00
@codspeed-hq
Copy link

codspeed-hq bot commented Feb 7, 2026

Merging this PR will not alter performance

✅ 173 untouched benchmarks


Comparing Himess:fix/tx-env-build-error-impl (8cd38ca) with main (540ec38)

Open in CodSpeed

Copy link
Member

@rakita rakita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rakita rakita merged commit 2d4a353 into bluealloy:main Feb 9, 2026
31 checks passed
@github-actions github-actions bot mentioned this pull request Feb 5, 2026
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.

revm-context: add impl std::error::Error for TxEnvBuildError

2 participants