Skip to content

feat: Add Core Reputation Data Types & Storage Enhancements#149

Merged
manlikeHB merged 2 commits intostakepoint:achievementfrom
fathima200:issue-145
Jun 1, 2025
Merged

feat: Add Core Reputation Data Types & Storage Enhancements#149
manlikeHB merged 2 commits intostakepoint:achievementfrom
fathima200:issue-145

Conversation

@fathima200
Copy link

issue #145

Description:

This PR introduces foundational data types and storage mappings for the reputation and achievement system. These updates set the groundwork for future reputation-based features.

Changes Made

  • Created AchievementType enum with all required variants.
  • Implemented Into<felt252> and TryInto<AchievementType> traits.
  • Added UserStats and Achievement structs.
  • Updated StrkWager contract with storage mappings for user stats & achievements.

Checklist:

  • Compilation successful, no errors.
  • Trait conversions work correctly.
  • Storage mappings function as expected.
  • No breaking changes.

@manlikeHB manlikeHB self-requested a review June 1, 2025 07:27
@manlikeHB manlikeHB changed the base branch from staging to achievement June 1, 2025 07:30
Copy link
Contributor

@manlikeHB manlikeHB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@manlikeHB manlikeHB merged commit 4ad7532 into stakepoint:achievement Jun 1, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants