Skip to content

Commit

Permalink
pindexer: supply: first refactoring pass
Browse files Browse the repository at this point in the history
This removes a lot of repeated logic around database accesses, and then
also modularizes them to hide some of the implementation details in the
rest of the file.
  • Loading branch information
cronokirby committed Sep 22, 2024
1 parent ed804cb commit 68360e8
Show file tree
Hide file tree
Showing 2 changed files with 329 additions and 293 deletions.
2 changes: 1 addition & 1 deletion crates/bin/pindexer/src/indexer_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ impl IndexerExt for cometindex::Indexer {
.with_index(crate::stake::UndelegationTxs {})
.with_index(crate::governance::GovernanceProposals {})
.with_index(crate::dex::Component::new())
.with_index(crate::supply::Supply::new())
.with_index(crate::supply::Component::new())
}
}
Loading

0 comments on commit 68360e8

Please sign in to comment.