difftreelog
style clarify argument names
in: master
3 files changed
node/cli/src/service.rsdiffbeforeafterboth45use cumulus_relay_chain_interface::{RelayChainError, RelayChainInterface, RelayChainResult};45use cumulus_relay_chain_interface::{RelayChainError, RelayChainInterface, RelayChainResult};46use cumulus_relay_chain_rpc_interface::{RelayChainRpcInterface, create_client_and_start_worker};46use cumulus_relay_chain_rpc_interface::{RelayChainRpcInterface, create_client_and_start_worker};474748// Substrate ImportsA48// Substrate Imports49use sp_api::BlockT;49use sp_api::BlockT;50use sc_executor::NativeElseWasmExecutor;50use sc_executor::NativeElseWasmExecutor;51use sc_executor::NativeExecutionDispatch;51use sc_executor::NativeExecutionDispatch;node/rpc/src/lib.rsdiffbeforeafterboth216216217 let overrides = overrides_handle::<_, _, R>(client.clone());217 let overrides = overrides_handle::<_, _, R>(client.clone());218218219 let execute_gas_limit_multiplier = 10;219 io.merge(220 io.merge(220 Eth::new(221 Eth::new(221 client.clone(),222 client.clone(),230 block_data_cache.clone(),231 block_data_cache.clone(),231 fee_history_cache,232 fee_history_cache,232 fee_history_limit,233 fee_history_limit,233 10,234 execute_gas_limit_multiplier,234 )235 )235 .into_rpc(),236 .into_rpc(),236 )?;237 )?;runtime/common/runtime_apis.rsdiffbeforeafterboth482 };482 };483483484 let is_transactional = false;484 let is_transactional = false;485 let validate = false;485 <Runtime as pallet_evm::Config>::Runner::call(486 <Runtime as pallet_evm::Config>::Runner::call(486 CrossAccountId::from_eth(from),487 CrossAccountId::from_eth(from),487 to,488 to,493 nonce,494 nonce,494 access_list.unwrap_or_default(),495 access_list.unwrap_or_default(),495 is_transactional,496 is_transactional,496 false,497 validate,497 config.as_ref().unwrap_or_else(|| <Runtime as pallet_evm::Config>::config()),498 config.as_ref().unwrap_or_else(|| <Runtime as pallet_evm::Config>::config()),498 ).map_err(|err| err.error.into())499 ).map_err(|err| err.error.into())499 }500 }519 };520 };520521521 let is_transactional = false;522 let is_transactional = false;523 let validate = false;522 <Runtime as pallet_evm::Config>::Runner::create(524 <Runtime as pallet_evm::Config>::Runner::create(523 CrossAccountId::from_eth(from),525 CrossAccountId::from_eth(from),524 data,526 data,529 nonce,531 nonce,530 access_list.unwrap_or_default(),532 access_list.unwrap_or_default(),531 is_transactional,533 is_transactional,532 false,534 validate,533 config.as_ref().unwrap_or_else(|| <Runtime as pallet_evm::Config>::config()),535 config.as_ref().unwrap_or_else(|| <Runtime as pallet_evm::Config>::config()),534 ).map_err(|err| err.error.into())536 ).map_err(|err| err.error.into())535 }537 }