Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Use an exact version of Solidity compiler #19

Closed
oed opened this issue Apr 20, 2017 · 0 comments
Closed

Use an exact version of Solidity compiler #19

oed opened this issue Apr 20, 2017 · 0 comments

Comments

@oed
Copy link
Contributor

oed commented Apr 20, 2017

eg
pragma solidity 0.4.4;
instead of
pragma solidity ^0.4.4;

Helps prevent compiling and thus testing and deploying with unintended or mismatching compiler versions (like tests done with one version, and deployment is with another version).

Also, some files have a different pragma from other files and all files should use the compiler version unless there's a good reason and clear documentation and explanation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant