Use Solidity Custom Errors
heueristik opened this issue · comments
Michael commented
CustomErrors are available since solc 0.8.4, are gas-efficient, make the bytecode smaller, and increase readability.
NomicFoundation/hardhat#1428 and ethers-io/ethers.js#1493 support it already, while web3/web3.js#4235 is working on it.
Because of web3.js, OpenZeppelin/openzeppelin-contracts#2839 is pending.