--- a/pallets/common/src/eth.rs +++ b/pallets/common/src/eth.rs @@ -155,7 +155,10 @@ } } +#[cfg(feature = "stubgen")] impl ::evm_coder::solidity::sealed::CanBePlacedInVec for EthCrossAccount {} + +#[cfg(feature = "stubgen")] impl ::evm_coder::solidity::SolidityTupleType for EthCrossAccount { fn names(tc: &::evm_coder::solidity::TypeCollector) -> Vec { let mut collected = @@ -179,6 +182,8 @@ 2 } } + +#[cfg(feature = "stubgen")] impl ::evm_coder::solidity::SolidityTypeName for EthCrossAccount { fn solidity_name( writer: &mut impl ::core::fmt::Write, @@ -203,6 +208,7 @@ } } +#[cfg(feature = "stubgen")] impl ::evm_coder::solidity::StructCollect for EthCrossAccount { fn name() -> String { "EthCrossAccount".into()