From ad863307e35bc8f0a10b7d57841761de8beb237d Mon Sep 17 00:00:00 2001 From: Erwan Or Date: Tue, 16 Apr 2024 13:21:00 -0400 Subject: [PATCH] auction(state_key): rename store to `auction_store` 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. --- crates/core/component/auction/src/state_key.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/core/component/auction/src/state_key.rs b/crates/core/component/auction/src/state_key.rs index 6e7a598c47..d34a3edf86 100644 --- a/crates/core/component/auction/src/state_key.rs +++ b/crates/core/component/auction/src/state_key.rs @@ -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 {