Skip to content

Commit

Permalink
make CollectionId a u32
Browse files Browse the repository at this point in the history
  • Loading branch information
Szegoo committed Dec 29, 2023
1 parent 915e74e commit ed7bcac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/local/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber);
pub const HOURS: BlockNumber = MINUTES * 60;
pub const DAYS: BlockNumber = HOURS * 24;

pub type CollectionId = u128;
pub type CollectionId = u32;
pub type ItemId = u128;

impl AddressToAssetId<AssetId> for Runtime {
Expand Down
2 changes: 1 addition & 1 deletion runtime/shibuya/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber);
pub const HOURS: BlockNumber = MINUTES * 60;
pub const DAYS: BlockNumber = HOURS * 24;

pub type CollectionId = u128;
pub type CollectionId = u32;
pub type ItemId = u128;

impl AddressToAssetId<AssetId> for Runtime {
Expand Down

0 comments on commit ed7bcac

Please sign in to comment.