poanetwork / token-wizard

(Discontinued) TokenWizard is an DApp to create and manage crowdsale and token contracts using a simple UI
MIT License
384 stars 215 forks source link

(Bug) Minted: 2nd tier has incorrect rate #1055

Closed dennis00010011b closed 6 years ago

dennis00010011b commented 6 years ago

Steps:

  1. Create crowdsale, Minted,no whitelist, 2 tiers, decimals =18:
    - 1st tier: rate =100,  supply=100, minCap =0
    - 2nd tier: rate =200, supply=100, minCap =0 
  2. Wait until 2nd tier starts and buy 10 tokens as an owner (I have waited until 10 minutes after 2nd tier start before the purchase for exclude a propagation time). Check Eth amount for transaction (in metamask window)
  3. Observe contribution page after transaction

Expected result:

Actual result:

Issue is not reproducible for non-owner account

If you are reporting a problem with Token Wizard, please include the following information:

Which network did you use? (Mainnet, Kovan, Rinkeby, etc.)

ganache, local deployment

If you were able to create it, what is the URL of your crowdsale?

n/a

Do you have screenshots showing the problem?

crowdsale parameters

screen shot 2018-07-20 at 04 17 42

1 st transaction

screen shot 2018-07-20 at 04 14 24

After 1st transaction

screen shot 2018-07-20 at 04 16 26

2nd transaction

screen shot 2018-07-20 at 04 16 47

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 tab

If you see errors, please right click on them and "Save as..". Zip saved file and attach it to the Issue.

Your answer


mariano-aguero commented 6 years ago

Wait until this PR #1058 is closed

mariano-aguero commented 6 years ago

I did some tests with the branch issue#1012 and the problem is solved in this branch screenshot_20180726_122731

fernandomg commented 6 years ago

@dennis00010011b @mariano-aguero #1012 (PR #1058) just closed.