vyperlang / vyper

Pythonic Smart Contract Language for the EVM
https://vyperlang.org
Other
4.91k stars 802 forks source link

feat[tool]: support storage layouts via json and xyz #4370

Open tserg opened 3 days ago

tserg commented 3 days ago

What I did

Resolves #4367

How I did it

How to verify it

See tests.

Commit message

feat[tool]: support storage layouts via json and xyz

This commit adds support for overriding the storage layout
using `solc_json` and archive inputs, and consequently
adding the storage layout if it was provided to these formats 
as output.

Description for the changelog

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

codecov[bot] commented 2 days ago

Codecov Report

Attention: Patch coverage is 87.50000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 88.71%. Comparing base (8f433f8) to head (08f0396).

Files with missing lines Patch % Lines
vyper/cli/vyper_json.py 88.23% 1 Missing and 1 partial :warning:
vyper/compiler/output_bundle.py 85.71% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #4370 +/- ## ========================================== - Coverage 91.27% 88.71% -2.57% ========================================== Files 112 112 Lines 16025 16049 +24 Branches 2696 2702 +6 ========================================== - Hits 14627 14238 -389 - Misses 966 1292 +326 - Partials 432 519 +87 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features:

tserg commented 1 day ago

@charles-cooper requesting a review before I update the docs