diff --git a/ethers-solc/src/artifacts/mod.rs b/ethers-solc/src/artifacts/mod.rs index 9ded58dc..8bce8d9e 100644 --- a/ethers-solc/src/artifacts/mod.rs +++ b/ethers-solc/src/artifacts/mod.rs @@ -490,7 +490,7 @@ impl From for SettingsMetadata { /// Determines the hash method for the metadata hash that is appended to the bytecode. /// -/// While solc's default is `Ipfs`, see , the default for this type is `None` to ensure deterministic code output. +/// Solc's default is `Ipfs`, see . #[derive(Clone, Debug, Copy, PartialEq, Eq, Serialize, Deserialize)] pub enum BytecodeHash { Ipfs, @@ -500,7 +500,7 @@ pub enum BytecodeHash { impl Default for BytecodeHash { fn default() -> Self { - BytecodeHash::None + BytecodeHash::Ipfs } }