Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solidity version #19

Open
CjHare opened this issue Sep 13, 2021 · 0 comments
Open

Solidity version #19

CjHare opened this issue Sep 13, 2021 · 0 comments
Labels
question Further information is requested

Comments

@CjHare
Copy link
Contributor

CjHare commented Sep 13, 2021

A general challenge with Solidity, being that whenever a contract is compiled into bytecode and sent onchain, that bytecode is immutable, never to improve or receive patches.

The motivation when selecting the version to author in, usually is to use the latest version (as that is expected to contain the most gas efficient and secure code). With an exception to that rule being when relying on contract, which restrict your choice (although OZ keep versions supporting a swath of Solidity version)

pragma solidity >=0.6.5 <0.8.0;

Solidity version 0.7.5, released 18 November 2020
Solidity version 0.7.6, released 17 December 2020
Solidity version 0.8.0, released 17 December 2020
https://github.com/ethereum/solidity/releases

The Peckshield Audit Report for BitDAO was dated June 30, suggesting the timeframe of contract development might have had the 0.8.x stream of Solidity available. If so, then it would be interesting to know why that passed over in favour of the previous.

@CjHare CjHare added the question Further information is requested label Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant