pallet_revive_eth_rpc/
subxt_client.rs1pub use subxt::config::PolkadotConfig as SrcChainConfig;
21
22#[subxt::subxt(
23 runtime_metadata_path = "$OUT_DIR/revive_chain.scale",
24 substitute_type(
26 path = "primitive_types::U256",
27 with = "::subxt::utils::Static<::sp_core::U256>"
28 ),
29
30 substitute_type(
31 path = "sp_runtime::generic::block::Block<A, B, C, D, E>",
32 with = "::subxt::utils::Static<::sp_runtime::generic::Block<
33 ::sp_runtime::generic::Header<u32, sp_runtime::traits::BlakeTwo256>,
34 ::sp_runtime::OpaqueExtrinsic
35 >>"
36 ),
37 substitute_type(
38 path = "pallet_revive::evm::api::debug_rpc_types::Trace",
39 with = "::subxt::utils::Static<::pallet_revive::evm::Trace>"
40 ),
41 substitute_type(
42 path = "pallet_revive::evm::api::debug_rpc_types::TracerType",
43 with = "::subxt::utils::Static<::pallet_revive::evm::TracerType>"
44 ),
45
46 substitute_type(
47 path = "pallet_revive::evm::api::rpc_types_gen::GenericTransaction",
48 with = "::subxt::utils::Static<::pallet_revive::evm::GenericTransaction>"
49 ),
50 substitute_type(
51 path = "pallet_revive::evm::api::rpc_types::DryRunConfig<M>",
52 with = "::subxt::utils::Static<::pallet_revive::evm::DryRunConfig<M>>"
53 ),
54 substitute_type(
55 path = "pallet_revive::primitives::EthTransactInfo<B>",
56 with = "::subxt::utils::Static<::pallet_revive::EthTransactInfo<B>>"
57 ),
58 substitute_type(
59 path = "pallet_revive::primitives::EthTransactError",
60 with = "::subxt::utils::Static<::pallet_revive::EthTransactError>"
61 ),
62 substitute_type(
63 path = "pallet_revive::primitives::ExecReturnValue",
64 with = "::subxt::utils::Static<::pallet_revive::ExecReturnValue>"
65 ),
66 substitute_type(
67 path = "sp_weights::weight_v2::Weight",
68 with = "::subxt::utils::Static<::sp_weights::Weight>"
69 ),
70 substitute_type(
71 path = "pallet_revive::evm::api::rpc_types_gen::Block",
72 with = "::subxt::utils::Static<::pallet_revive::evm::Block>"
73 ),
74 substitute_type(
75 path = "pallet_revive::evm::block_hash::ReceiptGasInfo",
76 with = "::subxt::utils::Static<::pallet_revive::evm::ReceiptGasInfo>"
77 ),
78 derive_for_all_types = "codec::Encode, codec::Decode"
79)]
80mod src_chain {}
81pub use src_chain::*;