-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
feat(api_server): report gas price based on open batch #2868
Merged
+627
−104
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
itegulov
commented
Sep 13, 2024
itegulov
force-pushed
the
daniyar/pla-1011-gas-price-open-batch
branch
from
October 16, 2024 01:33
d042e29
to
6fd7c94
Compare
perekopskiy
reviewed
Oct 16, 2024
4 tasks
itegulov
force-pushed
the
daniyar/pla-1011-gas-price-open-batch
branch
from
December 12, 2024 04:43
7bd7d62
to
47375d3
Compare
itegulov
force-pushed
the
daniyar/pla-1011-gas-price-open-batch
branch
7 times, most recently
from
December 13, 2024 05:34
1d8f34e
to
6b5b931
Compare
itegulov
requested review from
perekopskiy
and removed request for
a team,
yorik,
alexandrst88,
artmakh,
hatemosphere,
onyxet,
otani88 and
iluwaa
December 16, 2024 00:32
perekopskiy
previously approved these changes
Jan 3, 2025
perekopskiy
previously approved these changes
Jan 7, 2025
perekopskiy
approved these changes
Jan 13, 2025
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Jan 13, 2025
perekopskiy
added a commit
that referenced
this pull request
Jan 14, 2025
This reverts commit f30aca0.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What ❔
api_server
should report gas price based on the currently open L1 batch as opposed to the latest sealed L2 block.Note: adding
BatchFeeInput
to L1 batch models did not end up being necessary but I think it still makes sense.Why ❔
To avoid gas fluctuation issues on chains with low amount of traffic
Checklist
zk fmt
andzk lint
.