difftreelog
fix after rebase
in: master
2 files changed
crates/evm-coder/src/abi/impls.rsdiffbeforeafterboth--- a/crates/evm-coder/src/abi/impls.rs
+++ b/crates/evm-coder/src/abi/impls.rs
@@ -147,8 +147,8 @@
}
impl AbiWrite for Property {
- fn abi_write(&self, writer: &mut AbiWriter) {
- (&self.key, &self.value).abi_write(writer);
+ fn abi_write<'a>(&'a self, writer: &mut AbiWriter) {
+ (self.key.clone(), self.value.clone()).abi_write(writer);
}
}
pallets/common/src/eth.rsdiffbeforeafterboth123impl EthCrossAccount {123impl EthCrossAccount {124 pub fn from_sub_cross_account<T>(cross_account_id: &T::CrossAccountId) -> Self124 pub fn from_sub_cross_account<T>(cross_account_id: &T::CrossAccountId) -> Self125 where125 where126 T: pallet_evm::account::Config,126 T: pallet_evm::Config,127 T::AccountId: AsRef<[u8; 32]>,127 T::AccountId: AsRef<[u8; 32]>,128 {128 {129 if cross_account_id.is_canonical_substrate() {129 if cross_account_id.is_canonical_substrate() {141141142 pub fn into_sub_cross_account<T>(&self) -> evm_coder::execution::Result<T::CrossAccountId>142 pub fn into_sub_cross_account<T>(&self) -> evm_coder::execution::Result<T::CrossAccountId>143 where143 where144 T: pallet_evm::account::Config,144 T: pallet_evm::Config,145 T::AccountId: From<[u8; 32]>,145 T::AccountId: From<[u8; 32]>,146 {146 {147 if self.eth == Default::default() && self.sub == Default::default() {147 if self.eth == Default::default() && self.sub == Default::default() {