evolutionlandorg / common-contracts

common contracts, utilities, libs used by evolution land
Apache License 2.0
10 stars 9 forks source link

truffle deployment Error. #22

Closed hackfisher closed 5 years ago

hackfisher commented 5 years ago
Deploying TokenUse...
  ... 0xddf7fb1c62f9b2ea8406955c6668ad331f20bd74f70d1df9895af3f7214c9109
Error encountered, bailing. Network state unknown. Review successful transactions manually.
Error: The contract code couldn't be stored, please check your gas amount.
hackfisher commented 5 years ago

https://github.com/evolutionlandorg/common-contracts/commit/bdcbebfa33989ed6f681ba00dd6f1e8ba3ae1392

This is because the abstract method is not implemented in above commit.

It is strange that why truffle doesn't report compile error for this.

hackfisher commented 5 years ago

Ah... it think TokenUse is also an abstract contract.
Truffle deploy didn't get the reason.