Skip to content

feat: upgrade solidity version to use custom errors in require - #67

Open
0xdevant wants to merge 1 commit into
erc-8004:masterfrom
0xdevant:feat/custom-error-in-require-for-contracts
Open

0xdevant wants to merge 1 commit into
erc-8004:masterfrom
0xdevant:feat/custom-error-in-require-for-contracts

Conversation

@0xdevant

Copy link
Copy Markdown

Optimize the smart contracts to use custom errors in require for:

  • better error handling on the consumer side
  • better gas usage over error messages in string

Enabled by upgrading the contracts' solidity version to 0.8.26.

Also added the default RPC for mainnet and sepolia for handling cases when respective RPC variable is not set in .env , hopefully this change doesn't sound opinionated.

Already ran npm test to make sure all tests work successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant