Skip to content

Commit

Permalink
fix vyper linking
Browse files Browse the repository at this point in the history
  • Loading branch information
hedgar2017 committed Nov 26, 2024
1 parent 1ba4d7c commit d6ce817
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion compiler_tester/src/compilers/vyper/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,14 +225,15 @@ impl Compiler for VyperCompiler {
let method_identifiers = Self::get_method_identifiers(&project)
.map_err(|error| anyhow::anyhow!("Failed to get method identifiers: {error}"))?;

let build = project.compile(
let mut build = project.compile(
None,
era_compiler_common::HashType::Ipfs,
mode.llvm_optimizer_settings.to_owned(),
llvm_options,
vec![],
debug_config,
)?;
build.link(BTreeMap::new())?;
let builds = build
.contracts
.into_iter()
Expand Down

0 comments on commit d6ce817

Please sign in to comment.