Skip to content

remove operator from freeze event - #719

Merged
ozgunozerk merged 1 commit into
mainfrom
rwa-freeze-operator
May 21, 2026
Merged

ozgunozerk merged 1 commit into
mainfrom
rwa-freeze-operator

Conversation

@ozgunozerk

@ozgunozerk ozgunozerk commented May 21, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #718

PR Checklist

  • Tests
  • Documentation

Summary by CodeRabbit

  • Documentation
    • Clarified documented event topics for address frozen functionality.

Review Change Stack

@ozgunozerk
ozgunozerk requested a review from brozorec May 21, 2026 14:47
@coderabbitai

coderabbitai Bot commented May 21, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4a6ca38d-e103-49b9-b8c0-cb07d1b07beb

📥 Commits

Reviewing files that changed from the base of the PR and between 6e211ce and 5b8905c.

📒 Files selected for processing (1)
  • packages/tokens/src/rwa/mod.rs

Walkthrough

The PR corrects the documentation for the set_address_frozen function in the RWA token trait. The doc comment for the address_frozen event is updated to accurately reflect only the user_address and is_frozen topics, removing the previously documented operator parameter that does not exist in the actual event implementation.

Changes

Event Documentation Correction

Layer / File(s) Summary
Event topics documentation fix
packages/tokens/src/rwa/mod.rs
The set_address_frozen method's address_frozen event documentation is corrected to remove the erroneous operator topic, aligning the documented event signature with the actual implementation.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

📋✨ A doc was wrong, it came to light,
An operator topic that wasn't quite right,
Now user_address and is_frozen align,
The RWA event docs shine so fine! 🐰

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and concisely describes the main change: removing the operator field from the freeze event documentation.
Description check ✅ Passed The PR description includes the required issue reference (Fixes #718) but lacks details about the specific changes made to address the bug.
Linked Issues check ✅ Passed The code change directly addresses issue #718 by removing the incorrect operator topic from the set_address_frozen event documentation.
Out of Scope Changes check ✅ Passed All changes are within scope: only the RWAToken trait documentation for set_address_frozen was modified to fix the documented event topics.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch rwa-freeze-operator

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov

codecov Bot commented May 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.31%. Comparing base (79b09ae) to head (5b8905c).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #719   +/-   ##
=======================================
  Coverage   96.31%   96.31%           
=======================================
  Files          60       60           
  Lines        6370     6376    +6     
=======================================
+ Hits         6135     6141    +6     
  Misses        235      235           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ozgunozerk
ozgunozerk merged commit 0c0d43c into main May 21, 2026
8 checks passed
@ozgunozerk
ozgunozerk deleted the rwa-freeze-operator branch May 21, 2026 19:13
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.

🐞 [Bug]: RWA freeze address has invalid event description

2 participants