Skip to content

Commit

Permalink
auction(state_key): rename store to auction_store
Browse files Browse the repository at this point in the history
This is a bit more verbose, but this makes the callsites
more readable because we can just do `auction_store::by_id`
and the context becomes self-evident.
  • Loading branch information
erwanor committed Apr 16, 2024
1 parent 9285efc commit ad86330
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/core/component/auction/src/state_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ pub mod parameters {
}
}

pub mod store {
pub mod auction_store {
use crate::auction::id::AuctionId;

pub fn prefix() -> &'static str {
"auction/store/"
"auction/auction_store/"
}

pub fn by_id(auction_id: AuctionId) -> String {
Expand Down

0 comments on commit ad86330

Please sign in to comment.