diff --git a/soroban-env-host/src/host/lifecycle.rs b/soroban-env-host/src/host/lifecycle.rs index fe8c19f74..fe5f2ab60 100644 --- a/soroban-env-host/src/host/lifecycle.rs +++ b/soroban-env-host/src/host/lifecycle.rs @@ -1,5 +1,3 @@ -use soroban_env_common::{Env, TryIntoVal}; - use crate::{ err, host::{ @@ -12,7 +10,7 @@ use crate::{ ContractIdPreimageFromAddress, CreateContractArgsV2, ExtensionPoint, Hash, LedgerKey, LedgerKeyContractCode, ScAddress, ScErrorCode, ScErrorType, }, - AddressObject, BytesObject, Host, HostError, Symbol, TryFromVal, Val, + AddressObject, BytesObject, Host, HostError, Symbol, TryFromVal, TryIntoVal, Val, }; use std::rc::Rc; diff --git a/soroban-env-host/src/test/observe.rs b/soroban-env-host/src/test/observe.rs index 53c3a6d53..c246ffbe0 100644 --- a/soroban-env-host/src/test/observe.rs +++ b/soroban-env-host/src/test/observe.rs @@ -183,7 +183,7 @@ impl ObservedHost { protocol, } } - + #[cfg(all(not(feature = "next"), feature = "testutils"))] pub(crate) fn new(testname: &'static str, host: Host) -> Self { let protocol = Host::current_test_protocol();