-
Notifications
You must be signed in to change notification settings - Fork 310
append-only audit log for state-changing contracts operations #1198
Copy link
Copy link
Open
Labels
GRANTFOX OSSGrantFox open-source campaign taskGrantFox open-source campaign taskMAYBE REWARDEDMay be rewarded under the GrantFox campaignMay be rewarded under the GrantFox campaignOfficial Campaign | FWC26GrantFox FWC26 official campaignGrantFox FWC26 official campaignTHIRD CAMPAIGNarea:contractscontractscontractspriority:mediumMedium priorityMedium prioritystack:nodejsNode.jsNode.jsstack:typescriptTypeScriptTypeScripttype:featureNew functionalityNew functionality
Description
Activity
Metadata
Metadata
Assignees
Labels
GRANTFOX OSSGrantFox open-source campaign taskGrantFox open-source campaign taskMAYBE REWARDEDMay be rewarded under the GrantFox campaignMay be rewarded under the GrantFox campaignOfficial Campaign | FWC26GrantFox FWC26 official campaignGrantFox FWC26 official campaignTHIRD CAMPAIGNarea:contractscontractscontractspriority:mediumMedium priorityMedium prioritystack:nodejsNode.jsNode.jsstack:typescriptTypeScriptTypeScripttype:featureNew functionalityNew functionality
Summary
There is no record of who changed contracts state, when, or how — making incident review and compliance impossible. Add an append-only audit log capturing every mutation.
Why this matters
Without an audit trail, you cannot investigate incidents or prove correctness. An append-only log is the standard, queryable primitive.
Requirements
Technical guidance
Edge cases — each must have a test
Acceptance criteria
npm run lint,npm test, andnpm run buildall pass locallyCloses #<issue>Out of scope
Rewards
Part of the GrantFox OSS / Official Campaign (FWC26) — this task may be rewarded. PR quality is assessed by AI: depth, correctness under edge cases, meaningful tests, and clean design are what earn the reward. Shallow changes (typos, formatting, trivial docs) do not qualify.