ethernaut
ethernaut copied to clipboard
Preservation: `library` doesn't prevent access to state
Great level! I just want to point out that library is not completely foolproof as the final explanation seems to suggest:
library LibraryContract {
function setTime(uint256 _time) public {
assembly {
sstore(0, _time)
}
}
}