Skip to content

refactor timelocks 1#839

Merged
MathisGD merged 40 commits intomainfrom
refactor/timelocks
Dec 3, 2025
Merged

refactor timelocks 1#839
MathisGD merged 40 commits intomainfrom
refactor/timelocks

Conversation

@MathisGD
Copy link
Copy Markdown
Contributor

@MathisGD MathisGD commented Dec 1, 2025

  • refactor the marketV1AdapterV2 to have the same timelock system as the vault itself
  • also changes the timelock of burnShares to its own one
  • also make setSkimRecipient timelocked

@MathisGD MathisGD self-assigned this Dec 1, 2025
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/adapters/MorphoMarketV1Adapter.sol Outdated
Comment thread src/adapters/MorphoMarketV1Adapter.sol Outdated
Comment thread src/adapters/MorphoMarketV1Adapter.sol Outdated
Comment thread src/adapters/MorphoMarketV1Adapter.sol Outdated
@MathisGD MathisGD changed the title refactor/timelocks refactor timelocks Dec 1, 2025
Comment thread src/adapters/MorphoMarketV1Adapter.sol Outdated
Comment thread src/adapters/MorphoMarketV1Adapter.sol Outdated
Comment thread src/adapters/MorphoMarketV1Adapter.sol Outdated
Comment thread src/adapters/MorphoMarketV1AdapterV2.sol
Comment thread src/adapters/MorphoMarketV1AdapterV2.sol
Comment thread src/adapters/MorphoMarketV1AdapterV2.sol
MathisGD and others added 3 commits December 1, 2025 20:31
Co-authored-by: Quentin Garchery <garchery.quentin@gmail.com>
Signed-off-by: MathisGD <74971347+MathisGD@users.noreply.github.com>
Signed-off-by: MathisGD <74971347+MathisGD@users.noreply.github.com>
Comment thread src/adapters/MorphoMarketV1Adapter.sol
Comment thread src/adapters/MorphoMarketV1Adapter.sol
MathisGD and others added 4 commits December 2, 2025 11:41
Signed-off-by: MathisGD <74971347+MathisGD@users.noreply.github.com>
@MathisGD
Copy link
Copy Markdown
Contributor Author

MathisGD commented Dec 2, 2025

@codex review again please

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Comment thread test/integration/MorphoMarketV1IntegrationBurnSharesTest.sol Outdated
Comment thread src/adapters/MorphoMarketV1AdapterV2.sol Outdated
Comment thread src/adapters/MorphoMarketV1AdapterV2.sol Outdated
@MathisGD MathisGD requested a review from QGarchery December 2, 2025 14:44
@MathisGD
Copy link
Copy Markdown
Contributor Author

MathisGD commented Dec 2, 2025

@codex review

@chatgpt-codex-connector

This comment was marked as resolved.

@MathisGD

This comment was marked as outdated.

@chatgpt-codex-connector

This comment was marked as off-topic.

@MathisGD
Copy link
Copy Markdown
Contributor Author

MathisGD commented Dec 2, 2025

replaced by #845

@MathisGD MathisGD closed this Dec 2, 2025
@adhusson adhusson mentioned this pull request Dec 3, 2025
@MathisGD MathisGD reopened this Dec 3, 2025
@MathisGD MathisGD requested review from adhusson and peyha December 3, 2025 09:49
Comment thread src/adapters/MorphoMarketV1AdapterV2.sol
MathisGD and others added 2 commits December 3, 2025 13:39
Signed-off-by: MathisGD <74971347+MathisGD@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

@MathisGD MathisGD left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@peyha peyha left a comment

Choose a reason for hiding this comment

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

LGTM, we could also add one more dev comment to say that the timelock system is the same as in VaultV2 but not mandatory imo

@MathisGD
Copy link
Copy Markdown
Contributor Author

MathisGD commented Dec 3, 2025

done

Comment thread src/adapters/interfaces/IMorphoMarketV1AdapterV2.sol
Comment thread src/adapters/MorphoMarketV1AdapterV2.sol Outdated
Comment thread src/adapters/MorphoMarketV1AdapterV2.sol
MathisGD and others added 2 commits December 3, 2025 14:22
Co-authored-by: Quentin Garchery <garchery.quentin@gmail.com>
Signed-off-by: MathisGD <74971347+MathisGD@users.noreply.github.com>
Co-authored-by: Adrien Husson <adhusson@gmail.com>
Signed-off-by: MathisGD <74971347+MathisGD@users.noreply.github.com>
@MathisGD MathisGD merged commit 0888120 into main Dec 3, 2025
37 checks passed
@MathisGD MathisGD deleted the refactor/timelocks branch December 3, 2025 13:38
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.

4 participants