When trying to mint an AMM, I get a state error 
When trying to mint an AMM, I get a state error