Skip to content

[239] Add Review Edit History#303

Open
Goodnessukaigwe wants to merge 1 commit into
HubDApp:mainfrom
Goodnessukaigwe:fix/239-add-review-edit-history
Open

[239] Add Review Edit History#303
Goodnessukaigwe wants to merge 1 commit into
HubDApp:mainfrom
Goodnessukaigwe:fix/239-add-review-edit-history

Conversation

@Goodnessukaigwe

Copy link
Copy Markdown
Contributor

Summary

  • Restore full contract interface on main (regression from PR Fix/dongle contract upgrades #298) and fix compilation/test failures
  • Preserve review edit history in ordered revision storage with revision count
  • Add get_review_history / get_review_revision_count getters and ReviewRevisionEvent emissions
  • Keep get_review as latest-review getter for backward compatibility

Closes #239

Weighted rating formula

N/A in this PR (see #244).

Tests executed

  • cargo fmt
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo test --workspace (500 tests)

Backward compatibility

  • Existing reviews without history return revision count 0
  • Latest review getters unchanged
  • No storage layout changes to the primary Review record

Made with Cursor

Preserve prior review revisions with ordered storage, revision count,
history getters, revision events, and tests while restoring the full
contract interface broken on main.

Closes HubDApp#239

Co-authored-by: Cursor <cursoragent@cursor.com>
@drips-wave

drips-wave Bot commented Jun 30, 2026

Copy link
Copy Markdown

@Goodnessukaigwe Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Add Review Edit History

1 participant