From 2bb7a04d8be0d959144a46a501466896b9ec14c7 Mon Sep 17 00:00:00 2001 From: Trubnikov Sergey Date: Thu, 17 Nov 2022 08:35:37 +0000 Subject: [PATCH] fix: build --- --- 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() -- gitstuff