--- a/crates/evm-coder/procedural/src/to_log.rs +++ b/crates/evm-coder/procedural/src/to_log.rs @@ -137,7 +137,7 @@ Self::#name {#( #fields, )*} => { - topics.push(topic::from(Self::#name_screaming)); + topics.push(::evm_coder::types::Topic::from(Self::#name_screaming)); #( topics.push(#indexed.to_topic()); )* --- a/crates/evm-coder/src/lib.rs +++ b/crates/evm-coder/src/lib.rs @@ -133,7 +133,7 @@ pub type Address = H160; pub type Bytes4 = [u8; 4]; - pub type topic = H256; + pub type Topic = H256; #[cfg(not(feature = "std"))] pub type string = ::alloc::string::String;