git.delta.rocks / unique-network / refs/commits / 489bde0fa2e0

difftreelog

fix after rebase

Trubnikov Sergey2022-11-25parent: #b7f8a6b.patch.diff
in: master

2 files changed

modifiedcrates/evm-coder/src/abi/impls.rsdiffbeforeafterboth
147}147}
148148
149impl AbiWrite for Property {149impl AbiWrite for Property {
150 fn abi_write(&self, writer: &mut AbiWriter) {150 fn abi_write<'a>(&'a self, writer: &mut AbiWriter) {
151 (&self.key, &self.value).abi_write(writer);151 (self.key.clone(), self.value.clone()).abi_write(writer);
152 }152 }
153}153}
154154
modifiedpallets/common/src/eth.rsdiffbeforeafterboth
123impl 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) -> Self
125 where125 where
126 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() {
141141
142 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 where
144 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() {