Content
@
0 reply
0 recast
2 reactions
horsefacts
@horsefacts.eth
- Keep all strings under 32 bytes - Replace modifiers with internal functions - Linked libraries 😈 (cc @maks) https://warpcast.com/maks/0xb0fda8ff
7 replies
3 recasts
23 reactions
banteg
@banteg
external libraries are notoriously hard to debug in solidity since they don't follow the normal calling convention. language devs are unhappy with them too, so it's probably best to avoid them.
1 reply
0 recast
2 reactions
horsefacts
@horsefacts.eth
Banteg’s right, linked libraries should be a last resort. In many cases it’s simpler to extract a helper contract: basically the same thing without the weirdness of linked libs.
1 reply
0 recast
2 reactions