Skip to content

fix(l1): modify the RPC eth_feeHistory controller implementation#1797

Merged
JulianVentura merged 6 commits into
mainfrom
fix/eth_feeHistory
Feb 24, 2025
Merged

fix(l1): modify the RPC eth_feeHistory controller implementation#1797
JulianVentura merged 6 commits into
mainfrom
fix/eth_feeHistory

Conversation

@JulianVentura

@JulianVentura JulianVentura commented Jan 23, 2025

Copy link
Copy Markdown
Contributor

Description

This PR fixes the implementation of the eth_feeHistory RPC endpoint, by adding some new validations and modifying how the projected values of base_fee_per_gas and base_fee_per_blob are obtained.

@JulianVentura JulianVentura self-assigned this Jan 23, 2025
@JulianVentura JulianVentura requested a review from a team as a code owner January 23, 2025 19:23
@github-actions

github-actions Bot commented Jan 23, 2025

Copy link
Copy Markdown
| File                                                                    | Lines | Diff |
+-------------------------------------------------------------------------+-------+------+
| /home/runner/work/ethrex/ethrex/crates/networking/rpc/eth/fee_market.rs | 232   | +31  |
+-------------------------------------------------------------------------+-------+------+

Total lines added: +31
Total lines removed: 0
Total lines changed: 31

@mpaulucci mpaulucci left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

Comment thread crates/networking/rpc/eth/fee_market.rs Outdated
Comment thread crates/networking/rpc/eth/fee_market.rs Outdated

@ilitteri ilitteri left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The PR looks good, left a couple of nits. It'd be nice to add which tests that were not passing are doing it because of these changes.

@ilitteri ilitteri changed the title fix(l1): Modify the RPC eth_feeHistory controller implementation fix(l1): modify the RPC eth_feeHistory controller implementation Jan 24, 2025
@JulianVentura JulianVentura added this pull request to the merge queue Feb 24, 2025
Merged via the queue into main with commit 5682c85 Feb 24, 2025
@JulianVentura JulianVentura deleted the fix/eth_feeHistory branch February 24, 2025 21:47
JereSalo pushed a commit that referenced this pull request Feb 28, 2025
…1797)

**Description**

This PR fixes the implementation of the `eth_feeHistory` RPC endpoint,
by adding some new validations and modifying how the projected values of
`base_fee_per_gas` and `base_fee_per_blob` are obtained.

---------

Co-authored-by: Julian Ventura <julian.ventura@lambdaclass.com>
fkrause98 pushed a commit that referenced this pull request Mar 5, 2025
…1797)

**Description**

This PR fixes the implementation of the `eth_feeHistory` RPC endpoint,
by adding some new validations and modifying how the projected values of
`base_fee_per_gas` and `base_fee_per_blob` are obtained.

---------

Co-authored-by: Julian Ventura <julian.ventura@lambdaclass.com>
fkrause98 pushed a commit that referenced this pull request Mar 5, 2025
…1797)

**Description**

This PR fixes the implementation of the `eth_feeHistory` RPC endpoint,
by adding some new validations and modifying how the projected values of
`base_fee_per_gas` and `base_fee_per_blob` are obtained.

---------

Co-authored-by: Julian Ventura <julian.ventura@lambdaclass.com>
@JulianVentura JulianVentura mentioned this pull request Apr 23, 2025
1 task
pedrobergamini pushed a commit to pedrobergamini/ethrex that referenced this pull request Aug 24, 2025
…ambdaclass#1797)

**Description**

This PR fixes the implementation of the `eth_feeHistory` RPC endpoint,
by adding some new validations and modifying how the projected values of
`base_fee_per_gas` and `base_fee_per_blob` are obtained.

---------

Co-authored-by: Julian Ventura <julian.ventura@lambdaclass.com>
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.

4 participants