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

Improving executor-storage keys #3246

Merged
merged 4 commits into from
Feb 3, 2025
Merged

Conversation

silva-fj
Copy link
Contributor

This pull request is primarily focused on refactoring the storage key generation and updating the storage key constants.

Use blake2_128_concat key generation for executor storage keys. This
standardizes how we generate storage keys across different storage
implementations.

The new `storage_key` function combines twox_128 hash of the storage name
with blake2_128_concat of the key, following substrate storage key
generation pattern.
@silva-fj silva-fj requested a review from a team January 30, 2025 14:57
Copy link

linear bot commented Jan 30, 2025

@silva-fj silva-fj merged commit f7a577d into dev Feb 3, 2025
20 checks passed
@silva-fj silva-fj deleted the p-1296-optimize-executor-storage branch February 3, 2025 16:23
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