fix: group info for token config update was not being set correctly#295
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
When initiating group actions we were always setting the group to manual mint control group! 💀
Identified the bug, asked Claude to fix it. Just needed one follow-up prompt to fix a compile error.
Prompt:
"I realized that in update_token_config.rs I am not properly setting self.group based on the ChangeItem that the user selects. I am just setting it to the Group authorized to change manual minting on screen construction, and always passing that group to the backend. Can you edit so that I properly set self.group dynamically based on the ChangeItem the user selects?"