feat[lang]: solidity-style custom errors #4791
feat[lang]: solidity-style custom errors #4791AlbertoCentonze wants to merge 1 commit intovyperlang:masterfrom
Conversation
| from vyper.semantics.types.function import ContractFunctionT, MemberFunctionT | ||
| from vyper.semantics.types.primitives import AddressT | ||
| from vyper.semantics.types.user import EventT, FlagT, StructT, _UserType | ||
| from vyper.semantics.types.user import ErrorT, EventT, FlagT, StructT, _UserType |
Check failure
Code scanning / CodeQL
Module-level cyclic import Error
| from vyper.semantics.types.function import ContractFunctionT, MemberFunctionT | ||
| from vyper.semantics.types.primitives import AddressT | ||
| from vyper.semantics.types.user import EventT, FlagT, StructT, _UserType | ||
| from vyper.semantics.types.user import ErrorT, EventT, FlagT, StructT, _UserType |
Check failure
Code scanning / CodeQL
Module-level cyclic import Error
| from vyper.semantics.types.function import ContractFunctionT, MemberFunctionT | ||
| from vyper.semantics.types.primitives import AddressT | ||
| from vyper.semantics.types.user import EventT, FlagT, StructT, _UserType | ||
| from vyper.semantics.types.user import ErrorT, EventT, FlagT, StructT, _UserType |
Check failure
Code scanning / CodeQL
Module-level cyclic import Error
| from vyper.semantics.types.function import ContractFunctionT, MemberFunctionT | ||
| from vyper.semantics.types.primitives import AddressT | ||
| from vyper.semantics.types.user import EventT, FlagT, StructT, _UserType | ||
| from vyper.semantics.types.user import ErrorT, EventT, FlagT, StructT, _UserType |
Check failure
Code scanning / CodeQL
Module-level cyclic import Error
| from vyper.semantics.types.function import ContractFunctionT, MemberFunctionT | ||
| from vyper.semantics.types.primitives import AddressT | ||
| from vyper.semantics.types.user import EventT, FlagT, StructT, _UserType | ||
| from vyper.semantics.types.user import ErrorT, EventT, FlagT, StructT, _UserType |
Check failure
Code scanning / CodeQL
Module-level cyclic import Error
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #4791 +/- ##
==========================================
- Coverage 93.29% 93.16% -0.14%
==========================================
Files 140 140
Lines 20277 20402 +125
Branches 3554 3576 +22
==========================================
+ Hits 18917 19007 +90
- Misses 912 935 +23
- Partials 448 460 +12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
What I did
Asked codex to implement solidity style custom errors in vyper. Need to clean some slop before this is viable.
How I did it
How to verify it
Commit message
Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)
Description for the changelog
Cute Animal Picture