Skip to content

refactor take bundler#710

Merged
MathisGD merged 3 commits into
mainfrom
refactor/takebundler
Apr 20, 2026
Merged

refactor take bundler#710
MathisGD merged 3 commits into
mainfrom
refactor/takebundler

Conversation

@MathisGD
Copy link
Copy Markdown
Contributor

switch to 4 functions

@MathisGD MathisGD requested review from QGarchery and peyha April 17, 2026 14:24
@MathisGD MathisGD self-assigned this Apr 17, 2026
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.

Reviewed commit: 9fb69c18b8

ℹ️ 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/periphery/TakeBundler.sol
Comment thread src/periphery/TakeBundler.sol
Comment thread test/BundlerTest.sol
Comment thread src/periphery/TakeBundler.sol
Comment thread src/periphery/TakeBundler.sol
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.

Reviewed commit: bb463ac6c4

ℹ️ 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/periphery/TakeBundler.sol
Comment on lines -63 to -65
/// @dev Not usable if buyerPrice > WAD, because not all buyerAssets are reachable then.
/// @dev buyerAssetsToUnits is evaluated before midnight.take, so reverts there (e.g. underflow when offerPrice <
/// tradingFee) are not caught by the try/catch and will abort the bundle.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Maybe keep these comments, it doesn't cost much

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

i find a bit painful to check for the consistency / differences

Comment thread src/periphery/TakeBundler.sol
@MathisGD MathisGD merged commit 4bcecf4 into main Apr 20, 2026
28 of 29 checks passed
@MathisGD MathisGD deleted the refactor/takebundler branch April 20, 2026 12:35
peyha pushed a commit that referenced this pull request Apr 28, 2026
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