Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 709 Bytes

File metadata and controls

23 lines (20 loc) · 709 Bytes

Contracts should be deployed using the same compiler version/flags with which they have been tested.

Locking the pragma (for e.g. by not using ^ in pragma solidity 0.5.10) ensures that contracts do not accidentally get deployed using an older compiler version with unfixed bugs.

(see here)


Slide Screenshot

02.jpg


Slide Text

  • Solidity Pragma
  • Use of ^ -> Unlocked
  • Testing vs Deployment
  • Different Versions
  • Lock Pragma
  • Test -> Deploy

References


Tags