From c82597c90809517e3672c7fb1df1ac58d8b45aec Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Wed, 9 Feb 2022 17:57:46 +0200 Subject: [PATCH] fix: bump svm-rs to fix race condition on same version installs of solc --- Cargo.lock | 6 ++++-- ethers-solc/Cargo.toml | 3 +-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a0d934d2..f2e92aa0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3536,8 +3536,9 @@ checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" [[package]] name = "svm-rs" -version = "0.2.4" -source = "git+https://github.com/roynalnaruto/svm-rs#2743d57be023d36867275ddcf942026e6d8769c2" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "01ebb94785ad8eecc53c119257322f72afd3e3ab5016e74b2b2b143449107135" dependencies = [ "anyhow", "cfg-if 1.0.0", @@ -3558,6 +3559,7 @@ dependencies = [ "tempfile", "thiserror", "tokio", + "tracing", "url", ] diff --git a/ethers-solc/Cargo.toml b/ethers-solc/Cargo.toml index 642689fa..22d8a566 100644 --- a/ethers-solc/Cargo.toml +++ b/ethers-solc/Cargo.toml @@ -41,8 +41,7 @@ rayon = "1.5.1" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] home = "0.5.3" # SVM is not WASM compatible yet. -# svm = { package = "svm-rs", default-features = false, version = "0.2.1", optional = true } -svm = { package = "svm-rs", git = "https://github.com/roynalnaruto/svm-rs", default-features = false, optional = true } +svm = { package = "svm-rs", default-features = false, version = "0.2.6", optional = true } [target.'cfg(target_arch = "wasm32")'.dependencies] # NOTE: this enables wasm compatibility for getrandom indirectly