Skip to content

Commit

Permalink
add debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
gakonst committed Sep 13, 2021
1 parent e6d2954 commit 3e9afed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache-on-failure: true

- name: cargo test
run: cargo test
run: cargo test -- --nocapture

lint:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions dapp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,10 @@ impl<'a> SolcBuilder<'a> {
.map(|version| {
println!("Installing {}", version);
// Blocking call to install it over RPC.
dbg!(&self.versions);
self.runtime.block_on(svm::install(&version)).unwrap();
self.versions.push(version.clone());
dbg!(&self.versions);
println!("Done!");
version
})
Expand All @@ -434,6 +436,8 @@ impl<'a> SolcBuilder<'a> {
.clone();
compiler_path.push(format!("solc-{}", &version));

dbg!(std::process::Command::new("ls").args(["-lah", "/home/runner/.svm/*"]).output().unwrap());

let mut solc = Solc::new_with_paths(files).solc_path(compiler_path);
let lib_paths = self
.lib_paths
Expand Down

0 comments on commit 3e9afed

Please sign in to comment.