Error: VM Exception while processing transaction: reverted with reason string 'ERC20: insufficient allowance' at TokenA._spendAllowance (@openzeppelin/contracts/token/ERC20/ERC20.sol:337) at TokenA.transferFrom (@openzeppelin/contracts/token/ERC20/ERC20.sol:164) #5617
              
                Unanswered
              
          
                  
                    
                      Benrockiee
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment
-
| 
         @Benrockiee Make sure you approve the tokens to your DEX so it can transfer to using   | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
When i try to run test for my DEX contracts, i get this error
This is my test script
Beta Was this translation helpful? Give feedback.
All reactions