Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update event invariant docs for KeyRegistry, StorageRegistry #304

Merged
merged 2 commits into from
Aug 1, 2023

Conversation

varunsrin
Copy link
Member

@varunsrin varunsrin commented Aug 1, 2023

Motivation

Update documentation based on feedback.

Change Summary

Updated event invariant documentation

Merge Checklist


PR-Codex overview

Focus of this PR:

This PR focuses on updating the documentation in three contracts: IdRegistry.sol, StorageRegistry.sol, and KeyRegistry.sol.

Detailed summary:

  • In IdRegistry.sol, the documentation for an event RecoveryAddressChanged has been updated to mention that the event can emit multiple times with the same recovery address.
  • In StorageRegistry.sol, the documentation for an event StorageRentPaid has been updated to clarify that storage is credited to unregistered fids and will be assigned when the fid is registered.
  • In StorageRegistry.sol, the documentation for an event SetDeprecationTimestamp has been updated to mention that hubs will track this timestamp to determine when the contract is deprecated.
  • In KeyRegistry.sol, the documentation for an event Remove has been updated to clarify the invariants that hubs assume regarding the order and existence of events.
  • In KeyRegistry.sol, the documentation for an event AdminReset has been updated to clarify the invariants that hubs assume regarding the order and existence of events.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@github-actions
Copy link

github-actions bot commented Aug 1, 2023

Coverage after merging varunsrin/storage-events-docs-invariants into main will be

98.70%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   Bundler.sol100%100%100%100%
   FnameResolver.sol100%100%100%100%
   IdRegistry.sol100%100%100%100%
   KeyRegistry.sol100%100%100%100%
   StorageRegistry.sol100%100%100%100%
src/lib
   Signatures.sol100%100%100%100%
   TransferHelper.sol0%0%0%0%15, 15, 15, 25–26, 26, 26
   TrustedCaller.sol100%100%100%100%

@varunsrin varunsrin merged commit ccb80bb into main Aug 1, 2023
2 checks passed
@varunsrin varunsrin deleted the varunsrin/storage-events-docs-invariants branch August 1, 2023 16:32
Hmac512 pushed a commit to Hmac512/farcaster-contracts that referenced this pull request Aug 2, 2023
…arcasterxyz#304)

* docs: update invariants for KeyRegistry, StorageRegistry

* docs: address comments
Hmac512 pushed a commit to Hmac512/farcaster-contracts that referenced this pull request Aug 2, 2023
…arcasterxyz#304)

* docs: update invariants for KeyRegistry, StorageRegistry

* docs: address comments
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.

2 participants