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

Efficient upsert of exposures in multi-paged election #6499

Open
Tracked by #6498
gpestana opened this issue Nov 15, 2024 · 0 comments
Open
Tracked by #6498

Efficient upsert of exposures in multi-paged election #6499

gpestana opened this issue Nov 15, 2024 · 0 comments
Labels
T2-pallets This PR/Issue is related to a particular pallet.

Comments

@gpestana
Copy link
Contributor

Currently, the implementation in #6034 of upserting exposures when the election supports are fetched in a multi-page way, the whole exposure page is read from storage.

Figure out a way to append up to n exposures to a paged exposure type without having to read the whole struct from memory. This will most likely require to implement a new sp_io primitive.

@gpestana gpestana added the T2-pallets This PR/Issue is related to a particular pallet. label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T2-pallets This PR/Issue is related to a particular pallet.
Projects
None yet
Development

No branches or pull requests

1 participant