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: test all output formats #3683

Merged
merged 2 commits into from
Dec 16, 2023
Merged
Changes from all 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
6 changes: 3 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ def _get_contract(
settings.optimize = override_opt_level or optimize
out = compiler.compile_code(
source_code,
# test that metadata and natspecs get generated
output_formats=["abi", "bytecode", "metadata", "userdoc", "devdoc"],
# test that all output formats can get generated
output_formats=list(compiler.OUTPUT_FORMATS.keys()),
settings=settings,
input_bundle=input_bundle,
show_gas_estimates=True, # Enable gas estimates for testing
Expand Down Expand Up @@ -352,7 +352,7 @@ def _deploy_blueprint_for(w3, source_code, optimize, initcode_prefix=b"", **kwar
settings.optimize = optimize
out = compiler.compile_code(
source_code,
output_formats=["abi", "bytecode", "metadata", "userdoc", "devdoc"],
output_formats=list(compiler.OUTPUT_FORMATS.keys()),
settings=settings,
show_gas_estimates=True, # Enable gas estimates for testing
)
Expand Down
Loading