Skip to content

Conversation

@tlovell-sxt
Copy link
Contributor

A draft PR for softly bounding submissions storage.

Still need to clean up the commits, split into PRs, and regenerate weights/subxt, but this draft PR should help put the others into context.

@github-actions
Copy link

github-actions bot commented Dec 2, 2025

1.45.0

Bug Fixes

  • address clippy issues in heavy module (3165cb9
  • address clippy issues in pallet-indexing (47a9380
  • adjust existing tests for new submissions storage (da7773a
  • define constants for pallet-indexing tests (81beb9c
  • define constants in runtime (8a5e84f
  • don't panic out of an abundance of caution (4715836
  • just set removal_limit to unwrap_or_Default (c0eab0a
  • manually iterate/remove instead of using clear for submissions v0 (d50069d
  • max-out at 4 * max_submitters for the removal_limit (7a516ec
  • only derive Hash for TableIdentifier if std (c7b3566
  • set new pallet-indexing constants in smartcontracts mock runtime (776c56f
  • update AVERAGE_INSERT_CALL_WEIGHT after recalculating pallet-indexing weights (dbfda7b
  • update pallet-indexing weights (ee024b7
  • update sxt_chain_runtime (667372e
  • use a different check for submissions v1 batch existence that doesn't have false positives (a6bc27f
  • use u32s in BatchQueue storage items instead of u64s (a1513eb

Features

  • add constants for boudning/pruning batches to pallet-indexing (82fcb2f
  • add functions for managing batch queue (a19b1a7
  • add Heavy monad for tracking weights (b75c58b
  • add SubmissionsV1 and related storage for queuing prunes (26e5b8a
  • add VARIANT_COUNT constant to QuorumScope (f8904c3
  • derive Hash for TableIdentifier (ccb4ab7
  • make SubmissionsV1 be an OptionQuery (689f7a0
  • populate BatchQueue for new batches (2f94966
  • prune 100 submissions at a time in runtime settings (d794716
  • prune old submissions with Heavy logic (89ac90c
  • remove old submissions getter (force compilation failures where it's used) (736769e
  • use new submissions map in pallet-indexing logic (9942e5b

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