Guidelines and training material to write secure smart contracts
GNU Affero General Public License v3.0
2.18k
stars
341
forks
source link
refactor: remove `public` visibility from `constructor`s + add thousand separators to thousand numbers #316
Closed
CJ42 closed 1 year ago
What does this PR introduce?
Since Solidity v0.7.0, the visibility for
constructor
is ignored. Remove thepublic
visibility from all the constructors in the exercices.https://docs.soliditylang.org/en/v0.8.19/070-breaking-changes.html#functions-and-events]]
Also added thousand separator as
_
to increase code readability of number literals: fron10000
to -->10_000
.