-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(statedb): fix export indexer (#2245)
Refactor the `export.rs` logic in `Rooch` for easier management and repeated use. Abstracted the object states retrieval and genesis field export logic into their own functions. This makes them more modular and promotes code reuse. Both the `export_genesis` and `export_indexer` functions have been modified to use these abstracted functions.
- Loading branch information
Showing
1 changed file
with
53 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters