Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add metadata to vyper-json #3622

Merged
merged 3 commits into from
Sep 27, 2023

Conversation

tserg
Copy link
Collaborator

@tserg tserg commented Sep 26, 2023

What I did

Fix #3619

How I did it

Add metadata output to vyper-json.

How to verify it

Commit message

chore: add metadata to vyper-json

Description for the changelog

Add metadata output for vyper-json.

Cute Animal Picture

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

@@ -104,7 +104,6 @@ def build_ir_runtime_dict_output(compiler_data: CompilerData) -> dict:


def build_metadata_output(compiler_data: CompilerData) -> dict:
warnings.warn("metadata output format is unstable!")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this warning be removed?

@charles-cooper
Copy link
Member

@tserg can we add a test for this in the vyper json tests?

@codecov-commenter
Copy link

codecov-commenter commented Sep 27, 2023

Codecov Report

Merging #3622 (f52ac16) into master (3b310d5) will decrease coverage by 0.07%.
Report is 12 commits behind head on master.
The diff coverage is n/a.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

@@            Coverage Diff             @@
##           master    #3622      +/-   ##
==========================================
- Coverage   89.09%   89.03%   -0.07%     
==========================================
  Files          85       86       +1     
  Lines       11392    11460      +68     
  Branches     2591     2606      +15     
==========================================
+ Hits        10150    10203      +53     
- Misses        820      833      +13     
- Partials      422      424       +2     
Files Coverage Δ
vyper/cli/vyper_json.py 76.66% <ø> (-0.34%) ⬇️
vyper/compiler/output.py 91.66% <ø> (-0.05%) ⬇️

... and 13 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@charles-cooper charles-cooper merged commit 2bdbd84 into vyperlang:master Sep 27, 2023
82 checks passed
Copy link

@hhjmmmmmmmm hhjmmmmmmmm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good

@tserg tserg deleted the chore/metadata_json branch April 16, 2024 03:19
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.

'metadata' output selection is not supported with standard JSON
4 participants