Skip to content

Fix/temporal access check - #370

Open
maxnorm wants to merge 10 commits into
Perfect-Abstractions:mainfrom
maxnorm:fix/temporal-access-check
Open

Fix/temporal access check#370
maxnorm wants to merge 10 commits into
Perfect-Abstractions:mainfrom
maxnorm:fix/temporal-access-check

Conversation

@maxnorm

@maxnorm maxnorm commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fix the temporal and pausable access control checks.

Changes Made

  • add temporal and pausable check to any hasRole check

Checklist

Before submitting this PR, please ensure:

  • Code follows the Solidity feature ban - No inheritance, constructors, modifiers, public/private variables, external library functions, using for directives, or selfdestruct

  • Code follows Design Principles - Readable, uses diamond storage, favors composition over inheritance

  • Code matches the codebase style - Consistent formatting, documentation, and patterns (e.g. ERC20Facet.sol)

  • Code is formatted with forge fmt

  • Existing tests pass - Run tests to be sure existing tests pass.

  • New tests are optional - If you don't provide tests for new functionality or changes then please create a new issue so this can be assigned to someone.

  • All tests pass - Run forge test and ensure everything works

  • Documentation updated - If applicable, update relevant documentation

  • Changesets — If this PR changes publishable packages (src/, cli/), changeset-bot will comment if a release note might be needed. You can add one when convenient or defer to maintainers.

Make sure to follow the contributing guidelines.

Additional Notes

@netlify

netlify Bot commented Aug 2, 2026

Copy link
Copy Markdown

👷 Deploy request for compose-diamonds pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 97da26e

@changeset-bot

changeset-bot Bot commented Aug 2, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 97da26e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@maxnorm maxnorm added Security Needs Review Bug Something isn't working and removed Security labels Aug 2, 2026
@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Coverage Report

Coverage

Metric Coverage Details
Lines 78% 1693/2176 lines
Functions 91% 482/531 functions
Branches 71% 170/238 branches

Last updated: Sun, 02 Aug 2026 15:24:10 GMT for commit 97da26e

@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Gas Report

No gas usage changes detected between main and fix/temporal-access-check.

All functions maintain the same gas costs. ✅

Last updated: Sun, 02 Aug 2026 15:24:51 GMT for commit 97da26e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working Needs Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant