✨ Feature Request: Add ERC20 Approval Test Cases to Smart Sessions Test Suite #124
Open
2 tasks done
Labels
bug
Something isn't working
Feature or Improvement Description
Add test cases to
toSmartSessionValidator.test.ts
that demonstrate and validate ERC20 token approvals using Smart Sessions, including verification of allowances after successful approval operations.Benefits & Outcomes
Implementation Ideas
Add the following test cases to
src/sdk/modules/smartSessionsValidator/toSmartSessionsValidator.test.ts
. The test should:Add the USDC token ABI import to the test file and ensure all necessary constants are defined in the testAddresses object, including the USDC token address for the test network.
Update the test setup to include USDC token address and any additional configuration needed for token testing. Use the existing USDC deployment on the test network.
References
Any References?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: