Open sadityakumar9211 opened 1 year ago
Thank you for opening your first pull request in our repository, one of our maintainers will get in touch with you soon.
DO NOT FORGET TO ADD METAMASK WALLET ADDRESS IN THE AUTH FORM We at Metafy have some special rewards and swags for the top contributors in general repos and every contributor in web3 repos For being eligible for that, please authenticate yourself using this link: https://metafy.social/signup
Rewards : T-shirts & NFT ( for blockchain contributions )
Best of luck on your Contributions For further queries you can join our discord for support : https://discord.gg/W6PmEjjQsA
PR is not linked to any issue, please make the corresponding changes in the body.
PR is not linked to any issue, please make the corresponding changes in the body.
PR is not linked to any issue, please make the corresponding changes in the body.
Description
Optimised the smart contract using the custom error with revert statements. This significantly reduces the gas cost in smart contract transactions. Give a summary of the change that you have made
I have modified the smart contract to use custom error with revert statements rather than using require statement with error strings which is significantly expensive compared to the former.
Developer's checklist
If changes are made in the code: