Skip to content

Commit

Permalink
fix some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Nov 9, 2023
1 parent aba6558 commit febaa96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vyper/cli/vyper_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def compile_files(

output = vyper.compile_code(
file.source_code,
contract_name=str(file_path),
contract_name=str(file.path),
source_id=file.source_id,
input_bundle=input_bundle,
output_formats=final_formats,
Expand Down
2 changes: 1 addition & 1 deletion vyper/compiler/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def build_method_identifiers_output(compiler_data: CompilerData) -> dict:
module_t = compiler_data.vyper_module_folded._metadata["type"]
functions = module_t.functions

return {k: hex(v) for func in functions for k, v in func.method_ids.items()}
return {k: hex(v) for func in functions for k, v in func._metadata["type"].method_ids.items()}


def build_abi_output(compiler_data: CompilerData) -> list:
Expand Down

0 comments on commit febaa96

Please sign in to comment.