diff --git a/crates/artifacts/solc/src/configurable.rs b/crates/artifacts/solc/src/configurable.rs index 5a354987..4a24a835 100644 --- a/crates/artifacts/solc/src/configurable.rs +++ b/crates/artifacts/solc/src/configurable.rs @@ -91,7 +91,7 @@ impl ConfigurableContractArtifact { impl From for CompactContractBytecode { fn from(artifact: ConfigurableContractArtifact) -> Self { Self { - abi: artifact.abi.map(Into::into), + abi: artifact.abi, bytecode: artifact.bytecode, deployed_bytecode: artifact.deployed_bytecode, } diff --git a/crates/artifacts/solc/src/contract.rs b/crates/artifacts/solc/src/contract.rs index fcc2ea2c..7101b84d 100644 --- a/crates/artifacts/solc/src/contract.rs +++ b/crates/artifacts/solc/src/contract.rs @@ -118,7 +118,7 @@ impl From for ContractBytecode { (None, None) }; - Self { abi: c.abi.map(Into::into), bytecode, deployed_bytecode } + Self { abi: c.abi, bytecode, deployed_bytecode } } } @@ -174,7 +174,7 @@ impl From for CompactContractBytecode { (None, None) }; - Self { abi: c.abi.map(Into::into), bytecode, deployed_bytecode } + Self { abi: c.abi, bytecode, deployed_bytecode } } }