Skip to content
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

Add invalid bundle fraud proof for the estimated_bundle_weight field from the bundle header #2609

Closed
Tracked by #1706
NingLin-P opened this issue Mar 12, 2024 · 0 comments · Fixed by #2768
Closed
Tracked by #1706
Labels
execution Subspace execution fraud-proof

Comments

@NingLin-P
Copy link
Member

The estimated_bundle_weight field is used to ensure the sum of domain tx weight in the bundle does not exceed the max bundle weight limit but because the consensus node doesn't have info about the weight of the domain tx (or it is too expensive to get this info) thus the operator computed this value and added it to the bundle header, the consensus node just optimistically trusts this value, if this value later found out to be fraudulent by the honest operator, an invalid bundle fraud proof should be submitted and the bundle author should be slashed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
execution Subspace execution fraud-proof
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant