Skip to content

feat: lock naked aura - #3

Merged
gosuto-inzasheru merged 10 commits into
mainfrom
feat/lock-naked-aura
Aug 12, 2025
Merged

feat: lock naked aura#3
gosuto-inzasheru merged 10 commits into
mainfrom
feat/lock-naked-aura

Conversation

@gosuto-inzasheru

@gosuto-inzasheru gosuto-inzasheru commented May 21, 2025

Copy link
Copy Markdown
Contributor

still needs tests

@gosuto-inzasheru gosuto-inzasheru changed the title Feat/lock-naked-aura feat: lock naked aura May 21, 2025

@Xeonus Xeonus left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

  • correct locker address
  • handles AURA locking in wallet
  • updating safe interface
  • linting

Comment thread src/AuraLockerModule.sol

@jubeira jubeira left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't have all the context, but the code and the test looks correct in principle.

Not sure whether you want to handle both operations whenever possible in performUpkeep, but I've left a suggestion in case you want to explore that option.

Comment thread src/AuraLockerModule.sol Outdated
Comment thread src/AuraLockerModule.sol Outdated
@gosuto-inzasheru
gosuto-inzasheru marked this pull request as ready for review August 7, 2025 12:58
@gosuto-inzasheru

Copy link
Copy Markdown
Contributor Author

@Xeonus mind giving it one last look?

@Xeonus Xeonus left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

In general LGTM. Tests also consistent and cover most scenarios!

Minor comment:

  • Checkupkeep returns true for any of the 2 conditions (relock or naked Aura, whichever comes first). However, perform upkeep handles both transactions. Logic and tests correctly handle the scenarios though (only lock naked Aura, don't relock, etc).

@gosuto-inzasheru
gosuto-inzasheru merged commit f243e19 into main Aug 12, 2025
1 check 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.

3 participants