git.delta.rocks / unique-network / refs/commits / 55ce0a62aad1

difftreelog

refactor drop TransactionConverter support

Yaroslav Bolyukin2023-06-16parent: #4d3b620.patch.diff
in: master

4 files changed

modifiedprimitives/common/src/types.rsdiffbeforeafterboth
49 + Sync49 + Sync
50 + 'static;50 + 'static;
51
52 type TransactionConverter: fp_rpc::ConvertTransaction<UncheckedExtrinsic>
53 + Send
54 + Sync
55 + 'static;
56
57 fn get_transaction_converter() -> Self::TransactionConverter;
58 }51 }
59}52}
6053
modifiedruntime/common/ethereum/mod.rsdiffbeforeafterboth
17pub mod precompiles;17pub mod precompiles;
18pub mod self_contained_call;18pub mod self_contained_call;
19pub mod sponsoring;19pub mod sponsoring;
20pub mod transaction_converter;
2120
deletedruntime/common/ethereum/transaction_converter.rsdiffbeforeafterboth

no changes

modifiedruntime/common/instance.rsdiffbeforeafterboth
1use crate::{1use crate::{
2 runtime_common::{2 runtime_common::{
3 config::ethereum::CrossAccountId, ethereum::transaction_converter::TransactionConverter,3 config::ethereum::CrossAccountId,
4 },4 },
5 Runtime,5 Runtime,
6};6};
7use up_common::types::opaque::RuntimeInstance;7use up_common::types::opaque::RuntimeInstance;
88
9impl RuntimeInstance for Runtime {9impl RuntimeInstance for Runtime {
10 type CrossAccountId = CrossAccountId;10 type CrossAccountId = CrossAccountId;
11 type TransactionConverter = TransactionConverter;
12
13 fn get_transaction_converter() -> TransactionConverter {
14 TransactionConverter
15 }
16}11}
1712