Skip to content

Add OptimismPortal2 test#78

Merged
doutv merged 2 commits intoreview/cgt-contractfrom
feat/add-cgt-contract-test
Oct 17, 2025
Merged

Add OptimismPortal2 test#78
doutv merged 2 commits intoreview/cgt-contractfrom
feat/add-cgt-contract-test

Conversation

@doutv
Copy link
Copy Markdown

@doutv doutv commented Oct 17, 2025

forge test --match-contract OptimismPortal2_DepositERC20

export DEV_FEATURE__CUSTOM_GAS_TOKEN=true
forge test --match-contract OptimismPortal2_DepositERC20

doutv added 2 commits October 16, 2025 15:38
- Introduced a new test contract to validate the depositERC20Transaction function.
- Implemented various test cases to ensure correct behavior when using a custom gas token, including scenarios for invalid tokens, insufficient gas limits, and contract creation deposits.
- Verified token transfers and ensured proper reverts for edge cases, enhancing overall test coverage for the OptimismPortal2 functionality.
@doutv doutv merged commit 5dd3108 into review/cgt-contract Oct 17, 2025
@doutv doutv deleted the feat/add-cgt-contract-test branch October 17, 2025 07: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.

1 participant