Content pfp
Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions

Paul Berg pfp
Paul Berg
@prberg
Random Solidity tip: Be careful when using immutables in the declaration of other constants or immutables. The order of immutable variable declarations MATTERS.
2 replies
1 recast
20 reactions

K pfp
K
@kijijij
This is exactly how many low level old compilers work. For example sometime Java will not allow internal class defined below the accessor of the class.
0 reply
0 recast
0 reaction

Mo pfp
Mo
@meb
Question; what’s the use case in solidity for using immutable instead of constants?
1 reply
0 recast
0 reaction