Jeffrey ScholzApr 103 minSolidity Staticcall EIP 214Solidity Staticcall EIP 214. Staticcall is like a regular Ethereum call except that it reverts if a state change happens.
Jeffrey ScholzApr 81 minOpenzeppelin Ownable: Use Ownable2Step InsteadOpenzeppelin Ownable: Use Ownable2Step Instead. safer than Ownable for smart contracts because the owner cannot accidentally transfer.
Jeffrey ScholzApr 63 minSolidity test internal functionSolidity test internal function. To test an internal solidity function, create a child contract that inherits from the contract being tested