Skip to content

Conversation

@0kage-eth
Copy link
Contributor

@0kage-eth 0kage-eth commented Mar 18, 2025

What?

Added following Integration tests
-> RedemptionBatchSizeLimitsTest.t.sol - tests different batch sizes of delegations
-> DelegationChainMaxDepthTest.t.sol - tests delegation chain of varying depth
-> DelegationChainWithCaveatsTest.t.sol - end to end test with different caveats
-> New test to ERC20StreamingEnforcer - depleting allowance in EXECTYPE_TRY mode (this is now fixed)
-> ERC20TransferAmountEnforcer - depleting allowance in EXECTYPE_TRY mode (this is now fixed)
-> MixedAuthorityDelegationTest.t.sol - delegation chain with different delegation types (hybrid / MultiSig / 7702)
-> RevokeDelegationMidChainTest.t.sol - tests revocation of delegation mid chain

Why?

  • Improving the tests for missing scenarios

@0kage-eth 0kage-eth requested a review from a team as a code owner March 18, 2025 09:34
@hanzel98 hanzel98 force-pushed the test/cyfrin-audit-tests branch from e540b5a to 8685d93 Compare March 21, 2025 14:51
@hanzel98 hanzel98 merged commit fee6953 into MetaMask:main Mar 21, 2025
1 of 2 checks passed
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