-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The max_extrinsic
weight limit for domain extrinsic seems to be too large
#2387
Comments
True, I initially wanted to limit max_extrinsic weight to a sane value but somehow missed to update that in the previous PR. This was not straight forward since the BlockWeights max_block_weight was used to derive this. I think we need to manually create the Block weight unfortunately. |
This is getting a bit more tricky since we introduced bundle limit in #2568, because the Also, in gemini-3h, the bundle limit of domain 0 is now |
There's also #2365. Can we have bundle limit in domain config instead of block limit? Especially since domain block limit is not enforced. |
The
max_extrinsic
weight limit seems to become too large since we set the max domain block weight tou64::MAX
due tomax_extrinsic
is derived frommax_total
:https://github.com/paritytech/polkadot-sdk/blob/6f9b1f61ec759723bb8e86ae6db60c94841cf4c7/substrate/frame/system/src/limits.rs#L415-L426
This may be an issue, especially for the evm transaction whose weight is computed from the
gas_limit
and it is provided by the user, ifgas_limit
is set to a large value the evm transaction will enter the operator's tx pool while it will fail to include in the bundle as it exceeds the bundle weight limit, thus it may stay at the tx pool forever.cc @vedhavyas
The text was updated successfully, but these errors were encountered: