Skip to content

Commit

Permalink
chore: clippy (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Jan 5, 2025
1 parent 4a49c1b commit 305ec6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/artifacts/solc/src/configurable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl ConfigurableContractArtifact {
impl From<ConfigurableContractArtifact> 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,
}
Expand Down
4 changes: 2 additions & 2 deletions crates/artifacts/solc/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ impl From<Contract> for ContractBytecode {
(None, None)
};

Self { abi: c.abi.map(Into::into), bytecode, deployed_bytecode }
Self { abi: c.abi, bytecode, deployed_bytecode }
}
}

Expand Down Expand Up @@ -174,7 +174,7 @@ impl From<Contract> for CompactContractBytecode {
(None, None)
};

Self { abi: c.abi.map(Into::into), bytecode, deployed_bytecode }
Self { abi: c.abi, bytecode, deployed_bytecode }
}
}

Expand Down

0 comments on commit 305ec6a

Please sign in to comment.