Skip to content

op-acceptance-tests: harden the BPO blob base fee calculation test#17953

Merged
joshklop merged 1 commit intojoshklop/osaka-cleanupfrom
joshklop/adjust-bpo-test
Oct 28, 2025
Merged

op-acceptance-tests: harden the BPO blob base fee calculation test#17953
joshklop merged 1 commit intojoshklop/osaka-cleanupfrom
joshklop/adjust-bpo-test

Conversation

@joshklop
Copy link
Copy Markdown
Contributor

No description provided.

@joshklop joshklop requested review from a team as code owners October 20, 2025 21:46
@joshklop joshklop requested review from geoknee and janjakubnanista and removed request for a team and janjakubnanista October 20, 2025 21:46
@joshklop joshklop force-pushed the joshklop/adjust-bpo-test branch 2 times, most recently from 8f026d6 to f0adedf Compare October 21, 2025 02:08
@joshklop joshklop force-pushed the joshklop/osaka-cleanup branch from 97e3e1b to c0829ab Compare October 21, 2025 14:39
@joshklop joshklop force-pushed the joshklop/adjust-bpo-test branch from f0adedf to 81a3209 Compare October 21, 2025 14:40
@joshklop joshklop marked this pull request as draft October 21, 2025 16:36
@joshklop joshklop force-pushed the joshklop/adjust-bpo-test branch from 81a3209 to f8bee19 Compare October 21, 2025 17:24
@joshklop joshklop marked this pull request as ready for review October 21, 2025 17:24
@joshklop joshklop force-pushed the joshklop/adjust-bpo-test branch 6 times, most recently from c3abe09 to 3d20286 Compare October 21, 2025 17:41
@joshklop joshklop force-pushed the joshklop/osaka-cleanup branch from c0829ab to 7d341d4 Compare October 21, 2025 17:41
Before, we merely waited for the blob base fee to rise above 1 before assuming
that the blob parameters would have a visible impact on the fee.

Due to rounding, it is possible that different parameters still result in the same
base fee even above the minimum (either 1 or the reserve price set by EIP-7918).

Calculating the precise intersections between different blob base fee formulae is
complicated, so we opt for the simpler but maximally robust approach: calculate
both the BPO1 base fee and the Osaka base fee, and only proceed when they differ.

This resolves a nit on a previous PR that was merged due to time pressure:
#17529 (comment)
@joshklop joshklop force-pushed the joshklop/adjust-bpo-test branch from 3d20286 to 3398f16 Compare October 28, 2025 02:46
@joshklop joshklop merged commit 8b4ae42 into joshklop/osaka-cleanup Oct 28, 2025
8 of 17 checks passed
@joshklop joshklop deleted the joshklop/adjust-bpo-test branch October 28, 2025 02:46
github-merge-queue bot pushed a commit that referenced this pull request Oct 28, 2025
…st (#17944)

* split out helpers and initialization to a separate file

* fix comment in mise.toml

* rename osaka test

* rename to fusaka

* txplan: support non-cell proof blob txs

* also verify the l1 blob base fee in the l1 block contract

* optimization

#17529 (comment)

* op-acceptance-tests: harden the BPO blob base fee calculation test (#17953)

Before, we merely waited for the blob base fee to rise above 1 before assuming
that the blob parameters would have a visible impact on the fee.

Due to rounding, it is possible that different parameters still result in the same
base fee even above the minimum (either 1 or the reserve price set by EIP-7918).

Calculating the precise intersections between different blob base fee formulae is
complicated, so we opt for the simpler but maximally robust approach: calculate
both the BPO1 base fee and the Osaka base fee, and only proceed when they differ.

This resolves a nit on a previous PR that was merged due to time pressure:
#17529 (comment)

* add log
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