Skip to content

Conversation

@Himess
Copy link

@Himess Himess commented Dec 3, 2025

Summary

Changes

  • Replace DatabaseStorageRoot trait with a type alias

  • Convert from_tx to storage_root_from_tx free function

  • Convert from_tx_hashed to storage_root_from_tx_hashed free function

  • Convert overlay_root to storage_overlay_root free function

  • Update all call sites to use the new API

    Closes Make DatabaseStorageRoot stateful #15479

  Simplify the  API by converting the extension trait
  into free functions and a type alias. This addresses the feedback from
  PR paradigmxyz#15742 where the reviewer suggested that  and
  should not be part of the trait.

  Changes:
  - Replace  trait with a type alias
  - Convert  to  free function
  - Convert  to  free function
  - Convert  to  free function
  - Update all call sites to use the new API

  Closes paradigmxyz#15479
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

Make DatabaseStorageRoot stateful

1 participant