RealityETH / subjectivocracy

Design and code prototypes for a system of forking oracle-enshrined L2 ledgers
26 stars 3 forks source link

Update OpenZeppelin, change tests to expect Errors instead of revert strings #234

Open edmundedgar opened 7 months ago

edmundedgar commented 7 months ago

It looks like the recent versions of the OpenZeppelin Initializable lib (and probably others) use solidity errors instead of revert strings, which is consistent with what we and polygon do. Check if the latest version is audited, and if so update to the latest version and change our tests to expect errors.

https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/proxy/utils/Initializable.sol