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
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vyper/cli/vyper_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"interface": "interface",
"ir": "ir_dict",
"ir_runtime": "ir_runtime_dict",
# "metadata": "metadata", # don't include in "*" output for now
"metadata": "metadata",
"layout": "layout",
"userdoc": "userdoc",
}
Expand Down
1 change: 0 additions & 1 deletion vyper/compiler/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -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?

sigs = compiler_data.function_signatures

def _var_rec_dict(variable_record):
Expand Down