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

feat(api_server): report gas price based on open batch #2868

Merged
merged 25 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
78373df
add `BatchFeeInput` to L1 batch models
itegulov Sep 13, 2024
a58f7ae
make `api_server` report open batch's fee input
itegulov Sep 13, 2024
ccb1e64
fmt + lint
itegulov Sep 13, 2024
9246e7e
add test
itegulov Sep 13, 2024
0482421
tweak the logic to rely on unsealed batches with a fallback
itegulov Sep 13, 2024
6fd7c94
fix compilation issues after rebase
itegulov Oct 16, 2024
9e1826d
reuse the same connection
itegulov Oct 16, 2024
bb94d86
Merge remote-tracking branch 'origin/main' into daniyar/pla-1011-gas-…
itegulov Oct 17, 2024
f58182f
rely on batch fee input to be present
itegulov Oct 17, 2024
919ae8c
clarify fair pubdata error message
itegulov Oct 17, 2024
ddd3a6d
add a special case for genesis
itegulov Oct 17, 2024
6c5be28
Merge remote-tracking branch 'origin/main' into daniyar/pla-1011-gas-…
itegulov Oct 17, 2024
bee1f09
clarify genesis logic
itegulov Oct 17, 2024
796c9b5
fix api fee tests
itegulov Oct 17, 2024
a992885
Merge branch 'main' into daniyar/pla-1011-gas-price-open-batch
itegulov Dec 11, 2024
7159300
revamp the logic from ground up and align tests
itegulov Dec 11, 2024
cfd0f76
fix integration tests
itegulov Dec 12, 2024
37d64f4
Merge remote-tracking branch 'origin/main' into daniyar/pla-1011-gas-…
itegulov Jan 7, 2025
2f00ddb
clarify fetch source comments
itegulov Jan 7, 2025
7622010
Merge branch 'main' into daniyar/pla-1011-gas-price-open-batch
itegulov Jan 10, 2025
0375ff7
reuse nonce when replacing tx
itegulov Jan 9, 2025
675ea02
only replace tx when gas price goes up
itegulov Jan 9, 2025
a3081dc
replace ad-hoc timeout logic with base ethers
itegulov Jan 10, 2025
ac55722
account for gas estimation difference during spikes
itegulov Jan 10, 2025
28cf7d3
Merge branch 'main' into daniyar/pla-1011-gas-price-open-batch
itegulov Jan 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading