From 270fe46d37bd8702cd8ec13f50ed7e7308848cbc Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Sat, 8 Jan 2022 22:51:18 +0200 Subject: [PATCH] feat(solc): expose svm_compile --- ethers-solc/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethers-solc/src/lib.rs b/ethers-solc/src/lib.rs index 2620e663..5d6c784d 100644 --- a/ethers-solc/src/lib.rs +++ b/ethers-solc/src/lib.rs @@ -235,7 +235,7 @@ impl Project { #[cfg(all(feature = "svm", feature = "async"))] #[tracing::instrument(skip(self, sources))] - fn svm_compile(&self, sources: Sources) -> Result> { + pub fn svm_compile(&self, sources: Sources) -> Result> { let graph = Graph::resolve_sources(&self.paths, sources)?; let sources_by_version = graph.into_sources_by_version(!self.auto_detect)?.get(&self.allowed_lib_paths)?;