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
On Arbitrum Nitro networks the gas limit value of a transaction includes both L2 execution gas AND the L1 calldata gas components. Before a transaction is applied to the VM (i.e. during a send, call, gas estimation, etc) the L1 calldata component is subtracted from the gas limit and the remaining gas is applied. If the gas limit isn't high enough it can fail here with "intrinsic gas too low."
The L1 calldata gas component can be unboundedly high, especially on testnets. During calls that are made during both gas estimation and UO simulation, we need to ensure that the gas limit applied to the call contains the L1 component. We still want to use certain settings to limit the amount of EXECUTION gas that gets applied to these calls. Settings like max_verificaiton_gas and max_simulate_handle_ops_gas should still be applied, but we need to add the L1 component on top.
We should also audit anywhere that we compare PVG to these settings to ensure that we don't reject UOs with a high L1 component. For example, this line is incorrect
The text was updated successfully, but these errors were encountered:
Describe the feature
On Arbitrum Nitro networks the gas limit value of a transaction includes both L2 execution gas AND the L1 calldata gas components. Before a transaction is applied to the VM (i.e. during a send, call, gas estimation, etc) the L1 calldata component is subtracted from the gas limit and the remaining gas is applied. If the gas limit isn't high enough it can fail here with "intrinsic gas too low."
The L1 calldata gas component can be unboundedly high, especially on testnets. During calls that are made during both gas estimation and UO simulation, we need to ensure that the gas limit applied to the call contains the L1 component. We still want to use certain settings to limit the amount of EXECUTION gas that gets applied to these calls. Settings like
max_verificaiton_gas
andmax_simulate_handle_ops_gas
should still be applied, but we need to add the L1 component on top.We should also audit anywhere that we compare PVG to these settings to ensure that we don't reject UOs with a high L1 component. For example, this line is incorrect
The text was updated successfully, but these errors were encountered: