--- a/crates/evm-coder/procedural/src/abi_derive.rs +++ b/crates/evm-coder/procedural/src/abi_derive.rs @@ -90,7 +90,7 @@ &docs, ); - Ok(quote! { + let tt = quote! { #from #solidity_option #can_be_plcaed_in_vec @@ -99,7 +99,14 @@ #abi_write #solidity_type_name #solidity_struct_collect - }) + }; + + println!( + "!!!!!!!!!!!!!!!!!!!!!!!!!\n{}\n!!!!!!!!!!!!!!!!!!!!!!!!!", + tt + ); + + Ok(tt) } fn impl_solidity_option<'a>( @@ -135,7 +142,7 @@ impl TryFrom for #name { type Error = &'static str; - fn try_from(value: u8) -> ::std::result::Result { + fn try_from(value: u8) -> ::core::result::Result { const err: &'static str = "Not convertible"; match value { #(#enum_options)*