diff --git a/ethers-core/src/types/log.rs b/ethers-core/src/types/log.rs index dd70fa793..3815f1582 100644 --- a/ethers-core/src/types/log.rs +++ b/ethers-core/src/types/log.rs @@ -9,7 +9,7 @@ use serde::{ use std::ops::{Range, RangeFrom, RangeTo}; /// A log produced by a transaction. -#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] +#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)] pub struct Log { /// H160. the contract that emitted the log pub address: Address,