Skip to content

Fix: Setup bugs x Implement Admin Role Management and Voting State Synchronization#100

Merged
scguaquetam merged 48 commits intorsksmart:mainfrom
youngancient:fix/setup
Mar 19, 2026
Merged

Fix: Setup bugs x Implement Admin Role Management and Voting State Synchronization#100
scguaquetam merged 48 commits intorsksmart:mainfrom
youngancient:fix/setup

Conversation

@youngancient
Copy link
Contributor

@youngancient youngancient commented Feb 5, 2026

I was tasked with fixing the setup bugs, but there were more than setup bugs. From the contract not compiling, to lack of clear deployment instructions, poor error handling, and UI bugs.

My PR did the following:
Contract side:

  • Fixed Contract not compiling
  • Added a hardhat task to simplify the contract deployment
  • Updated Outdated Typechain in src/
  • Updated GitHub Readme

UI side:

  • Admins can successfully assign roles to other wallet addresses.
  • Superadmins can kickstart scoreboard voting through the UI
  • Added a countdown timer for the scoreboard
  • Graciously handled contract errors using ethers-decode-error

A demo of the changes implemented:
https://github.com/user-attachments/assets/b26bf03a-7c6a-4fbf-9709-95daa662c54b

… adminRole constant and dummysvg constant for token uri
Copy link
Collaborator

@ezequiel-rodriguez ezequiel-rodriguez left a comment

Choose a reason for hiding this comment

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

LGTM

@scguaquetam scguaquetam merged commit 3a29b0d into rsksmart:main Mar 19, 2026
1 check 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.

3 participants