Skip to content

Fix test 05 find 002#20

Merged
fondation451 merged 2 commits intomainfrom
fix-TEST-05-FIND-002
Sep 22, 2025
Merged

Fix test 05 find 002#20
fondation451 merged 2 commits intomainfrom
fix-TEST-05-FIND-002

Conversation

@fondation451
Copy link
Copy Markdown
Collaborator

No description provided.

@fondation451 fondation451 self-assigned this Sep 22, 2025
Copilot AI review requested due to automatic review settings September 22, 2025 11:35
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a test case to verify that the renounce_admin function properly panics when called, along with implementing the function that causes this panic behavior.

  • Implements renounce_admin function that unconditionally panics
  • Adds test to verify the panic behavior occurs as expected
  • Updates contract addresses in development configuration

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
contracts/permission-manager/src/contract.rs Implements renounce_admin function that panics with message
contracts/permission-manager/src/test.rs Adds test case to verify renounce_admin panics correctly
contracts/permission-manager/test_snapshots/test/test_renounce_admin_should_panic.1.json Test snapshot data for the new test case
address/dev.json Updates development contract addresses

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@fondation451 fondation451 merged commit cc13413 into main Sep 22, 2025
5 checks passed
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