Skip to content

Merge upstream v0.15.0 #4

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

Merged
merged 40 commits into from
May 16, 2025
Merged

Merge upstream v0.15.0 #4

merged 40 commits into from
May 16, 2025

Conversation

allnil
Copy link

@allnil allnil commented Mar 26, 2025

No description provided.

piyanggoon and others added 30 commits October 26, 2024 09:06
Add "StackSnapshotType::All" for easier reading of trace steps, as shown
in the picture.

![CleanShot 2567-10-22 at 03 05
05@2x](https://github.com/user-attachments/assets/6ea29c79-9d58-4d62-be18-782fa4e359f7)
closes paradigmxyz#201

BTW, this will also change the public method `try_into_mux_frame`, so
need to adjust in reth's side.

---------

Signed-off-by: jsvisa <[email protected]>
replaces todo! with a revert outcome return value
…z#244)

fixes paradigmxyz/reth#13089

btw, this PR also fixes the incorrect caller address in delegatecall.

---------

Signed-off-by: jsvisa <[email protected]>
should close paradigmxyz#248

---------

Co-authored-by: Matthias Seitz <[email protected]>
For use in Foundry coverage guided fuzzing. I think the other
functionality such as [comparing two edge
maps](https://github.com/h0mbre/Lucid/blob/3026e7323c52b30b3cf12563954ac1eaa9c6981e/src/coverage.rs#L72)
can be added later or in Foundry directly
- src/tracing/fourbyte.rs:
Old: "byte" -> New: "bytes"
Reason: Corrected to plural form since it refers to multiple (four)
bytes

- src/tracing/builder/parity.rs:
Old: "Manually the gas used" -> New: "Manually set the gas used"
Reason: Added missing verb "set" for grammatical completeness

Documentation-only changes to improve clarity and correctness. No
functional changes.
Right now caller is required to provide `AccessListInspector` with the
list of precompiles which is unnecessary and requires caller to peek
into EVM internals. Besides making API more complex this also results in
reth not excluding p256 OP precompile when preparing access list
https://github.com/paradigmxyz/reth/blob/890507a98adef94b3970312ef796eb40f87206df/crates/rpc/rpc-eth-api/src/helpers/call.rs#L430-L431

This PR changes `AccessListInspector` to obtain `from`, `to` and
`precompiles` from the top-level frame and not requiring caller to
provide anything
`self.enter_fn.is_some()` is used in the `can_call_exit` method to check
for the presence of an entry function (`enter_fn`). This is incorrect,
as the method should be checking for the exit function (`exit_fn`).
I've fixed this by updating the check to `self.exit_fn.is_some()`. This
aligns with the method's intended behavior.
### 1. File: `src/tracing/mux.rs`
- **Old:** `/// A instance of FourByteInspector that can be reused`
- **New:** `/// An instance of FourByteInspector that can be reused`
- **Reason:** Corrected the grammatical error by changing "A" to "An" to
ensure proper article usage before a vowel sound.

### 2. File: `src/tracing/utils.rs`
- **Old:** `/// Returns a non empty revert reason if the output is a
revert/error.`
- **New:** `/// Returns a non-empty revert reason if the output is a
revert/error.`
- **Reason:** Added a hyphen to "non-empty" to correctly form the
compound adjective, improving clarity and grammatical accuracy.

### 3. File: `src/transfer.rs`
- **Old:** `/// A non zero value transfer CALL`
- **New:** `/// A non-zero value transfer CALL`
- **Reason:** Added a hyphen to "non-zero" to correctly form the
compound adjective, enhancing clarity and grammatical correctness.

## Summary
These changes improve the grammatical accuracy and clarity of the
comments in the code, ensuring that the documentation is professional
and easy to understand. Proper use of articles and hyphenation in
compound adjectives is essential for maintaining high-quality code
documentation.
## Description

Bump alloy to the next version.

---------

Co-authored-by: Matthias Seitz <[email protected]>
NeoByteXx and others added 10 commits February 20, 2025 21:53
Old: //! Util functions for revm related ops

New: //! Utility functions for revm related ops

Reason: The word "Util" was replaced with "Utility" to improve
readability and maintain consistency with standard English usage. This
makes the comment more professional and easier to understand.
Revm Framework integration

---------

Co-authored-by: Matthias Seitz <[email protected]>
Co-authored-by: Arsenii Kulikov <[email protected]>
@allnil allnil merged commit e5b8cb9 into main May 16, 2025
6 of 11 checks passed
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.