Skip to content

Conversation

@tlovell-sxt
Copy link
Contributor

Rationale for this change

Submissions to hyperkzg-only tables are significantly faster than others. So, it would be nice to allow greater throughput for submissions to hyperkzg-only tables instead of limiting them by the dynamic dory bottleneck.

What changes are included in this PR?

  • fix: separate submit data benchmarks by commitment scheme
  • fix: calculate separate submit data weights by commitment scheme
  • fix: update AVERAGE_INSERT_CALL_WEIGHT to match hyperkzg

Are these changes tested?

These changes do not affect existing functionality, which should be verified by existing tests.

Submissions to hyperkzg-only tables are significantly faster than
others. So, it would be nice to allow greater throughput for submissions
to hyperkzg-only tables instead of limiting them by the dynamic dory
bottleneck. This change updates the benchmarks to calculate two separate
weights for the different commitment schemes.
We now have benchmarks for data submission to hyperkzg and dynamic dory
tables calculated separately. This change actually performs the
benchmark to get these new weights, and applies them for the submit data
extrinsics.
We now have a significantly lower weight for hyperkzg-only tables than
any other configuration. This change updates the runtime weight
constants to be based off this lower weight to make sure costs for these
inserts are still the same.
@tlovell-sxt tlovell-sxt requested review from a team as code owners December 19, 2025 00:13
@github-actions
Copy link

1.48.3

Bug Fixes

  • calculate separate submit data weights by commitment scheme (01c1692
  • separate submit data benchmarks by commitment scheme (c3c32d7
  • update AVERAGE_INSERT_CALL_WEIGHT to match hyperkzg (6b55916

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants