UnorderedKeySet icon indicating copy to clipboard operation
UnorderedKeySet copied to clipboard

Update to 0.8.4; optimize error handling for gas

Open brendon-rofe opened this issue 2 years ago • 0 comments

I updated the Solidity version to 0.8.4, since this is the earliest version to support custom errors.

I have also updated the error from require, to revert with the new custom errors.

I believe this is beneficial, as it saves on gas, while still providing adequate error messages.

brendon-rofe avatar Apr 27 '23 14:04 brendon-rofe