Skip to content

Commit 56cb707

Browse files
committed
docs: add bundler impact section to resource metering
1 parent 1f9fb21 commit 56cb707

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

docs/base-chain/network-information/resource-metering.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ Resource metering affects you in two ways:
1818
1. **Transactions that consume excessive resources may be skipped for inclusion.** If your transaction uses a disproportionate amount of execution time or DA relative to its gas usage, it may be skipped even if its gas-based priority fee would normally be sufficient.
1919
2. **You can query the recommended priority fee for your transaction.** The `base_meteredPriorityFeePerGas` RPC method simulates your transaction and returns the priority fee needed to get included based on recent block congestion across all three resources.
2020

21+
## Impact on bundlers
22+
23+
ERC-4337 bundlers are particularly affected by resource metering. Previously, fitting within the block's gas limit was the main constraint for getting a bundle included. Resource metering adds new dimensions: not only does the gas have to fit, but the execution time and state root time must also fit within per-block limits. This makes large, multi-operation bundles harder to include than before.
24+
25+
Bundler operators can mitigate this by:
26+
27+
- **Sending single-transaction bundles** to reduce per-bundle resource consumption.
28+
- **Metering transactions before including them in bundles** to identify and exclude UserOperations that consume disproportionate resources.
29+
- **Using `base_meteredPriorityFeePerGas`** to set the priority fee high enough for the bundle to be included based on actual resource usage.
30+
2131
## Get a recommended priority fee
2232

2333
The `base_meteredPriorityFeePerGas` RPC method simulates a bundle of transactions and returns a recommended priority fee based on recent block congestion. It evaluates all three resource types independently and returns the highest fee across them.

0 commit comments

Comments
 (0)