cronos icon indicating copy to clipboard operation
cronos copied to clipboard

Problem: make gen-cronos-contracts does not uses the latest solidity compiler

Open thomas-nguy opened this issue 3 years ago • 6 comments

Upgrade compiler to be able to use v0.8x

thomas-nguy avatar Jul 26 '22 05:07 thomas-nguy

I think this one is fixed right?

yihuang avatar Aug 18 '22 03:08 yihuang

no it is still using 0.6.8

I think we need at least 0.8.1

https://github.com/crypto-org-chain/cronos/blob/main/contracts/shell.nix#L7

thomas-nguy avatar Aug 18 '22 06:08 thomas-nguy

ah, you mean the ModuleCRC

yihuang avatar Aug 18 '22 06:08 yihuang

the main blocker is the ds-token only support up to 0.6.x, an alternative is to switch to openzeppelin.

yihuang avatar Aug 18 '22 07:08 yihuang

is there a specific issue with older compilers?

yihuang avatar Aug 18 '22 07:08 yihuang

hmm maybe its okay but for the standard sake, maybe it would be better to use the latest version

thomas-nguy avatar Aug 18 '22 07:08 thomas-nguy