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

fix(en): make EN use main node's fee input #3489

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

itegulov
Copy link
Contributor

What ❔

Alternative to #3487

Before this PR EN based its gas pricing solely on main node's fee params which are based on immediate market conditions and not representative of the open batch's fee input. This is a problem on environments with long-running batches. This PR makes EN fetch main node's batch fee input along with fee params and report fetched batch fee input from its fee input provider.

Why ❔

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • Code has been formatted via zkstack dev fmt and zkstack dev lint.

@itegulov itegulov force-pushed the daniyar/fix-main-node-fee-fetcher branch from be2a125 to d2a654d Compare January 17, 2025 05:19
@itegulov itegulov added this pull request to the merge queue Jan 17, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 17, 2025
@itegulov itegulov added this pull request to the merge queue Jan 17, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 17, 2025
@itegulov itegulov added this pull request to the merge queue Jan 17, 2025
Merged via the queue into main with commit cbf2c31 Jan 17, 2025
31 of 33 checks passed
@itegulov itegulov deleted the daniyar/fix-main-node-fee-fetcher branch January 17, 2025 10:27
randomsuperher pushed a commit that referenced this pull request Jan 17, 2025
🤖 I have created a release *beep* *boop*
---


##
[26.0.0](core-v25.4.0...core-v26.0.0)
(2025-01-17)


### ⚠ BREAKING CHANGES

* **contracts:** gateway integration
([#1934](#1934))

### Features

* Adapt server for new EVM bytecode hash encoding
([#3396](#3396))
([5a1e6d2](5a1e6d2))
* Add logging & metrics for mempool
([#3447](#3447))
([64d861d](64d861d))
* **api_server:** report gas price based on open batch
([#2868](#2868))
([f30aca0](f30aca0))
* **contracts:** gateway integration
([#1934](#1934))
([f06cb79](f06cb79))
* da_dispatcher refactoring
([#3409](#3409))
([591cd86](591cd86))
* **en:** make documentation more chain agnostic
([#3376](#3376))
([361243f](361243f))
* **eth-sender:** make base fee grow at least as fast as priority fee
([#3386](#3386))
([78af2bf](78af2bf))
* **eth-watch:** Change protocol upgrade schema
([#3435](#3435))
([2c778fd](2c778fd))
* Features for an easier upgrade
([#3422](#3422))
([3037ee6](3037ee6))
* FFLONK support for compressor
([#3359](#3359))
([1a297be](1a297be))
* pubdata type changes from sync-layer-stable
([#3425](#3425))
([f09087b](f09087b))


### Bug Fixes

* **api:** Propagate fallback errors in traces
([#3469](#3469))
([84e3e31](84e3e31))
* **en:** make EN use main node's fee input
([#3489](#3489))
([cbf2c31](cbf2c31))
* eth aggregator restriction
([#3490](#3490))
([6cc9b9e](6cc9b9e))


### Performance Improvements

* **eth-sender:** optimize sql query
([#3437](#3437))
([0731f60](0731f60))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: Tomasz Grześkiewicz <[email protected]>
Co-authored-by: zksync-era-bot <[email protected]>
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.

2 participants