Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(reth-execution-errors) no_std #10048

Merged
merged 4 commits into from
Aug 12, 2024

Conversation

martinezjorge
Copy link
Contributor

@martinezjorge martinezjorge commented Aug 2, 2024

Towards #9478

Adds no_std support for reth-execution-errors

@martinezjorge martinezjorge changed the title Reth execution errors no std chore(reth-execution-errors) no_std Aug 2, 2024
emhane
emhane previously requested changes Aug 3, 2024
crates/evm/execution-errors/src/lib.rs Outdated Show resolved Hide resolved
@martinezjorge martinezjorge marked this pull request as ready for review August 8, 2024 00:19
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

last nit


pub mod trie;
pub use trie::*;

/// Transaction validation errors
#[derive(thiserror_no_std::Error, Debug, Clone, PartialEq, Eq)]
#[derive(Clone, Debug, Display, Eq, From, PartialEq)]
Copy link
Collaborator

Choose a reason for hiding this comment

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

please impl From conversions manually where we had them

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no problem, done

@@ -172,14 +205,13 @@ impl BlockExecutionError {
}

/// Internal (i.e., not validation or consensus related) `BlockExecutor` Errors
#[derive(thiserror_no_std::Error, Debug)]
#[derive(Display, Debug, From)]
Copy link
Collaborator

Choose a reason for hiding this comment

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

same here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@mattsse mattsse added the C-debt Refactor of code section that is hard to understand or maintain label Aug 8, 2024
@mattsse mattsse enabled auto-merge August 12, 2024 17:14
@mattsse mattsse added this pull request to the merge queue Aug 12, 2024
Merged via the queue into paradigmxyz:main with commit b2a035a Aug 12, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-debt Refactor of code section that is hard to understand or maintain
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants