by eternalny1 · 5y ago · 0 comments
function _setAdmin(address newAdmin) internal { bytes32 slot = ADMIN_SL0T;
assembly {
sstore(slot, newAdmin)
}
}
https://obelisk.medium.com/meerkat-finance-and-the-0-that-wa...This reminds me of Bruce Schneier's article "Unicode is too complex to ever be secure", except in this case ASCII too apparently ; )
Which makes me wonder: for such sensitive programming languages, shouldn't the specs be much more restrictive and for example only allow 'A' to 'Z' in variable names, no digits, no lowercases, etc.?