Skip to content

Utilise the SMT key hash #2082

@Mirko-von-Leipzig

Description

@Mirko-von-Leipzig

Now that 0xMiden/protocol#2932 has landed, we can use it in our SMT pipeline as per

/// Reverse lookup from hashed SMT storage keys to raw storage map keys.
///
/// Ideally this would be a mapping from `StorageMapKeyHash` to `StorageMapKey` but
/// unfortunately `StorageMapKeyHash` does not implement `Hash`.
storage_map_key_cache: LruCache<Word, StorageMapKey>,
once we have updated protocol to include this.

Metadata

Metadata

Assignees

Labels

storeRelated to the store component
No fields configured for Refactoring.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions