OpenZeppelin / openzeppelin-labs

A space for the community to interact and exchange ideas on the OpenZeppelin platform. Do not use in production!
https://openzeppelin.com/
MIT License
376 stars 116 forks source link

wrong balance ? #104

Closed salanfe closed 6 years ago

salanfe commented 6 years ago

hi,

https://github.com/zeppelinos/labs/blob/a8c00cf6ff9ac8fb9fef87f68da4c2d1891941a5/upgradeability_using_inherited_storage/test/Upgradeable.js#L32

shouldn't the balance be 190 ?

1) mint 100 to sender 2) mint 100 to sender 3) transfer 10 from sender to receiver

=> balance should be 190 ?! (100 + 100 -10 = 190)

thx for those great proxy patterns

facuspagnuolo commented 6 years ago

No, please note that we are minting 1000 tokens in during the initialization process