git.delta.rocks / unique-network / refs/commits / a4ecd385bb46

difftreelog

misc: rename topic -> Topic

Trubnikov Sergey2023-01-18parent: #08c4c52.patch.diff
in: master

2 files changed

modifiedcrates/evm-coder/procedural/src/to_log.rsdiffbeforeafterboth
--- 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());
 				)*
modifiedcrates/evm-coder/src/lib.rsdiffbeforeafterboth
133133
134 pub type Address = H160;134 pub type Address = H160;
135 pub type Bytes4 = [u8; 4];135 pub type Bytes4 = [u8; 4];
136 pub type topic = H256;136 pub type Topic = H256;
137137
138 #[cfg(not(feature = "std"))]138 #[cfg(not(feature = "std"))]
139 pub type string = ::alloc::string::String;139 pub type string = ::alloc::string::String;