Skip to content

fix: clean up MegaETH chain support#1896

Merged
ryanio merged 2 commits intomainfrom
fix/megaeth-cleanup
Feb 11, 2026
Merged

fix: clean up MegaETH chain support#1896
ryanio merged 2 commits intomainfrom
fix/megaeth-cleanup

Conversation

@ryanio
Copy link
Collaborator

@ryanio ryanio commented Feb 11, 2026

Summary

Follow-up to #1893 — fixes and cleans up the MegaETH chain integration:

  • Rename MEGAETH_FEE_RECIPIENTALTERNATE_FEE_RECIPIENT (this address is shared across chains)
  • Lowercase the fee recipient address for consistency with other fee recipients
  • Fix copy-paste bug in test: was asserting getFeeRecipient(Chain.Somnia) instead of Chain.MegaETH
  • Move case Chain.MegaETH above the OP Chains group with updated comment since MegaETH is not an OP-stack chain

Closes #1893

Test plan

  • All 81 chain util tests pass
  • Lint passes

🤖 Generated with Claude Code

Vinicius-Fiorio and others added 2 commits February 11, 2026 02:00
- Rename MEGAETH_FEE_RECIPIENT to ALTERNATE_FEE_RECIPIENT (shared across chains)
- Lowercase the address for consistency with other fee recipients
- Fix test bug: was testing Chain.Somnia instead of Chain.MegaETH
- Move Chain.MegaETH above the 'OP Chains' comment since it's not an OP chain

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@ryanio ryanio merged commit 5c81a74 into main Feb 11, 2026
8 checks passed
@ryanio ryanio deleted the fix/megaeth-cleanup branch February 11, 2026 23:53
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