We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7143c0b commit 75f51bcCopy full SHA for 75f51bc
tests/osaka/eip7594_peerdas/test_max_blob_per_tx.py
@@ -161,8 +161,15 @@ def test_max_blobs_per_tx_fork_transition(
161
else TransactionException.TYPE_3_TX_BLOB_COUNT_EXCEEDED
162
)
163
pre_fork_block = Block(
164
- txs=[tx],
+ txs=[
165
+ tx
166
+ if blob_count < fork.max_blobs_per_block(timestamp=FORK_TIMESTAMP - 1)
167
+ else tx.with_error(expected_exception)
168
+ ],
169
timestamp=FORK_TIMESTAMP - 1,
170
+ exception=None
171
172
+ else [expected_exception],
173
174
fork_block = Block(
175
txs=[tx.with_nonce(1).with_error(expected_exception)],
0 commit comments