Skip to content

bump oracle and storage#90

Merged
freesig merged 1 commit into
mainfrom
freesig/bump-oracle
Oct 23, 2025
Merged

bump oracle and storage#90
freesig merged 1 commit into
mainfrom
freesig/bump-oracle

Conversation

@freesig
Copy link
Copy Markdown
Collaborator

@freesig freesig commented Oct 13, 2025

  • reexport void-hash

const tree with storage traits
Updates the fixed size tree to have Storage and StorageMut.
Adds ref and mut types for borrowing the tree. This is useful to avoid
recomputing the default hashes in situations where you can't store the
actual tree.
This comes up when the storage is actually a db transaction which can't
live long. The tree needs to be constructed on demand but you don't want
the default hashes to be computed on demand.

@freesig freesig force-pushed the freesig/bump-oracle branch 3 times, most recently from b15b37f to 4350e6e Compare October 13, 2025 23:03
- reexport void-hash

<!-- ps-id: d2fbeff5-35e3-42de-9337-1ca8e09c744d -->

const tree with storage traits
Updates the fixed size tree to have `Storage` and `StorageMut`.
Adds ref and mut types for borrowing the tree. This is useful to avoid
recomputing the default hashes in situations where you can't store the
actual tree.
This comes up when the storage is actually a db transaction which can't
live long. The tree needs to be constructed on demand but you don't want
the default hashes to be computed on demand.
@freesig freesig force-pushed the freesig/bump-oracle branch from 4350e6e to d08cfb5 Compare October 23, 2025 20:17
@freesig freesig changed the title bump oracle bump oracle and storage Oct 23, 2025
@freesig freesig marked this pull request as ready for review October 23, 2025 20:18
@freesig freesig requested review from nfurfaro and supiket October 23, 2025 20:18
Copy link
Copy Markdown
Contributor

@supiket supiket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meticulous bump

@freesig freesig merged commit fd8b619 into main Oct 23, 2025
10 checks passed
@freesig freesig deleted the freesig/bump-oracle branch October 23, 2025 21:26
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