You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature
Reduce dynamic RPC usage. That is, requests that occur either (1) in response to an external RPC request, (2) during bundle building, (3) when UOs are mined.
TODO double check this:
eth_estimateUserOperationGas:
1x eth_getBlockByNumber - to get a block hash to anchor subsequent calls
get this from pool?
VGL: 2+ eth_call
CGL: 2+ eth_call
PVGL: 2+ eth_call
PVG: 1x eth_call for DA
Can we limit this? Upwards of 7+ eth_call for a single estimation. Need to price accordingly. Metrics for avg.
eth_sendUserOperation:
Precheck:
up to 3x eth_getCode - to check if entities are contracts (4x when we have aggregators)
Describe the feature
Reduce dynamic RPC usage. That is, requests that occur either (1) in response to an external RPC request, (2) during bundle building, (3) when UOs are mined.
TODO double check this:
eth_estimateUserOperationGas
:eth_getBlockByNumber
- to get a block hash to anchor subsequent callseth_call
eth_call
eth_call
eth_call
for DAeth_call
for a single estimation. Need to price accordingly. Metrics for avg.eth_sendUserOperation
:eth_getCode
- to check if entities are contracts (4x when we have aggregators)eth_call
- to get entry point depositeth_getBalance
- to get payer balanceeth_call
- to get DA gas costsdebug_traceCall
w/ custom tracereth_call
- to get code hasheseth_call
- signature aggregator check (refactor this)eth_getBlock
- race condition, see codeeth_call
- get paymaster balance if new paymastereth_call
- for gas limit eff checketh_getUserOperationByHash
:eth_getLogs
debug_traceTransaction
to
addresses for entry point proxieseth_getUserOperationReceipt
:eth_getLogs
eth_getTransactionReceipt
rundler_maxPriorityFeePerGas
:eth_feeHistory
callsLow hanging fruit:
isContract
checketh_call
usageTODO fill this out:
Bundle building RPC calls:
Pool RPC calls:
The text was updated successfully, but these errors were encountered: