Closed dennis00010011b closed 6 years ago
Probably it happens because the price changing quickly and investor receives tokens for lower price than he planned to buy.
@dennis00010011b Exactly. Anyways, the next change was made: recalculation of rate has implemented immediately before a transaction generation. The rest is a time gap between tx generation and submitting to blockchain. Increasing of crowdsale time or decreasing difference between min and max rate leads to mitigating this issue.
Issue still reproducible ExecID 0x7bc9b1fa37f2fa80e76e2333ecd9b0c34495068af66cb4bdc72150306ca2cfcd
@dennis00010011b as I said, I guess, it is related to a gap between transaction generation and submitting to blockchain(time between Metamask alert is displayed and time when you clicked “Confirm” button). Can you reproduce this issue with local connection to ganache-cli (without Metamask installed) ? Then transactions are confirmed immediately, and amount you are trying to buy should be almost the same, that you actuallly have bought.
Test URL: https://5af093921f12b70ce2f90775--architect-coin-64174.netlify.com/
Steps:
Expected result:
Actual result:
Probably it happens because the price changing quickly and investor receives tokens for lower price than he planned to buy.
Which network did you use? (Mainnet, Kovan, Rinkeby, etc.)
Ropsten
If you were able to create it, what is the URL of your crowdsale?
https://5af093921f12b70ce2f90775--architect-coin-64174.netlify.com/invest?exec-id=0x86851fe8cadbdfc6ffa955bdfa3a7d94f0f484410ec5ddbdfb008ff801510913&networkID=3
Do you have screenshots showing the problem?
Do you see errors in the dev console? If yes, please include a screenshot
To open the dev console in Google Chrome, press F12, or go to
View -> Developer -> Developer Tools
, and open the Console tabIf you see errors, please right click on them and "Save as..". Zip saved file and attach it to the Issue.
No