Skip to content

Conversation

@duncancmt
Copy link
Collaborator

No description provided.

@duncancmt duncancmt self-assigned this Dec 19, 2025
duncancmt and others added 13 commits December 19, 2025 13:32
Propagate changes from Mainnet to fix Solidity diamond inheritance:
- Change _isRestrictedTarget from pure to view in TakerSubmitted
- Add _isRestrictedTarget override in MetaTxn resolving inheritance
- Add _isRestrictedTarget override in Intent resolving inheritance

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Test basic swap, slippage check, slippage failure, and partial fills
- Verify ecrecover is called with correctly computed EIP-712 digest
- Mock only ecrecover precompile; all other Bebop logic runs for real
- Test both WETH→USDC and USDC→WETH directions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Rename Bebop.t.sol to BebopPairTest.t.sol as a mixin
- Integrate BebopPairTest into USDC_WETH and WETH_USDC test suites
- Remove standalone concrete test contracts
- Add allowanceHolder approval to BebopPairTest.setUp()
- Update gas snapshots to use standard pair naming convention

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Verify that BASIC action reverts with ConfusedDeputy() when attempting
to call restricted targets: Bebop, Permit2, and AllowanceHolder.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- BebopOrder.flags replaced with event_id (uint128)
- partnerId is now always zero (Settler doesn't pass it to Bebop)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@duncancmt duncancmt changed the title WIP: Bebop Bebop Dec 23, 2025
@duncancmt duncancmt marked this pull request as ready for review December 23, 2025 10:35
@immunefi-magnus
Copy link

🛡️ Immunefi PR Reviews

We noticed that your project isn't set up for automatic code reviews. If you'd like this PR reviewed by the Immunefi team, you can request it manually using the link below:

🔗 Send this PR in for review

Once submitted, we'll take care of assigning a reviewer and follow up here.

duncancmt and others added 6 commits December 23, 2025 11:37
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Fix compilation errors caused by diamond inheritance of
_isRestrictedTarget from multiple base classes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
duncancmt and others added 2 commits December 23, 2025 16:40
Use vm.sign(MAKER_PRIVATE_KEY, digest) to create actual EIP-712
signatures instead of mocking the ecrecover precompile.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@duncancmt
Copy link
Collaborator Author

@nicob87 I updated the PR to include support on all the listed chains. I need to size-golf the Base SettlerIntent some before we deploy, but the functionality is all there.

@duncancmt duncancmt requested a review from dekz as a code owner December 29, 2025 13:21
@duncancmt duncancmt changed the base branch from master to dcmt/osaka December 29, 2025 13:21
@e1Ru1o e1Ru1o self-requested a review December 29, 2025 14:48
Base automatically changed from dcmt/osaka to master December 29, 2025 14:49
@duncancmt duncancmt merged commit e77bd86 into master Dec 29, 2025
3 checks passed
@duncancmt duncancmt deleted the dcmt/bebop branch December 29, 2025 14:49
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