yearn / vaults

MIT License
74 stars 53 forks source link

Unable to deposit into yVaults #1

Open zoonosis opened 4 years ago

zoonosis commented 4 years ago

For the past few days been trying to do my second deposit into the yCRV vault

The first one i did went fine, approved my spending limit, then sent the deposit

This time however metamask is acting weird Firstly when i went to deposit it asked me to approve a spending limit again, even though i was depositing an amount less than the limit already set from the first deposit. I confirmed the transaction anyway and then it let me do the deposit step except this time the gas fees where somewhere around $500

I thought maybe it was a limit issue so I reduced the amount to deposit to 1, just to test. The transaction was acting normal and metamask was showing a fee of around $4. So I tried again with a higher amount, 100. Again fine. So I went higher, and higher and higher until I got to 970. And for some reason that was the limit. If I tried to deposit 971 it would error. Less was ok. So I deposited the 970, thinking that that was my limit for some reason.

The very next attempt I put in the balance which was 600. Nope error. I tried 1. Error. No matter what number I put in, it didnt work.

I tried using nifty instead of metamask and also tried depositing directly via etherscan....all result in the same issue I can however use etherscan to set my spending limit successfully. So to me it seems that the issue lies with the deposit function because meta mask works on uniswap for me, and etherscan lets me change spending limits.

In the javascript console on chrome it shows me errors. These error occurs using the yearn website and etherscan.

inpage.js:1 MetaMask - RPC Error: header not found {code: -32000, message: "header not found"} asyncToGenerator.js:6 Uncaught (in promise)

Im happy to provide wallet or txid via DM if required.

Ungolim commented 4 years ago

@andrecronje

Also, can we start an official Discord? Q_Q

Also, can we hire some professional Svelte devs and 1 designer for the frontend? Q_Q