Skip to content

feat(reputation): implement immutable reputation snapshot engine (SC-… - #333

Merged
dDevAhmed merged 2 commits into
DigiNodes:mainfrom
David-Adegboyega:feature/sc-010-reputation-snapshots
Jul 29, 2026
Merged

feat(reputation): implement immutable reputation snapshot engine (SC-…#333
dDevAhmed merged 2 commits into
DigiNodes:mainfrom
David-Adegboyega:feature/sc-010-reputation-snapshots

Conversation

@David-Adegboyega

Copy link
Copy Markdown
Contributor

…010)

Implements ReputationSnapshotEngine with OZ Checkpoints for per-verifier reputation history tracking. Supports globally unique sequential snapshot IDs, immutable storage, createGlobalSnapshot for bulk snapshots via oracle, recordProtocolSnapshot for protocol event triggers, and full view API including getSnapshot, getSnapshotAtBlock, getLatestSnapshot, getVerifierSnapshots.

  • New contract: contracts/ReputationSnapshotEngine.sol
  • New tests: test/ReputationSnapshotEngine.test.ts (38 tests)
  • Fixes pre-existing compilation issues (BootstrapController PAUSER_ROLE, MigrationManager PAUSER_ROLE, viaIR in hardhat config)

Closes #290

…010)

Implements ReputationSnapshotEngine with OZ Checkpoints for per-verifier reputation history tracking. Supports globally unique sequential snapshot IDs, immutable storage, createGlobalSnapshot for bulk snapshots via oracle, recordProtocolSnapshot for protocol event triggers, and full view API including getSnapshot, getSnapshotAtBlock, getLatestSnapshot, getVerifierSnapshots.

- New contract: contracts/ReputationSnapshotEngine.sol
- New tests: test/ReputationSnapshotEngine.test.ts (38 tests)
- Fixes pre-existing compilation issues (BootstrapController PAUSER_ROLE, MigrationManager PAUSER_ROLE, viaIR in hardhat config)

Closes DigiNodes#290
@dDevAhmed

Copy link
Copy Markdown
Contributor

resolve conflicts @David-Adegboyega

@David-Adegboyega

Copy link
Copy Markdown
Contributor Author

@dDevAhmed conflicts resolved.

@dDevAhmed
dDevAhmed merged commit 7170fee into DigiNodes:main Jul 29, 2026
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.

SC-010 — Implement Reputation Snapshot & Historical Checkpointing

2 participants