From df29d0d67233ddf7ecea644393dc2c9896f5f9ff Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Thu, 24 Nov 2022 10:59:45 +0000 Subject: [PATCH] style: clarify argument names --- --- a/node/cli/src/service.rs +++ b/node/cli/src/service.rs @@ -45,7 +45,7 @@ use cumulus_relay_chain_interface::{RelayChainError, RelayChainInterface, RelayChainResult}; use cumulus_relay_chain_rpc_interface::{RelayChainRpcInterface, create_client_and_start_worker}; -// Substrate ImportsA +// Substrate Imports use sp_api::BlockT; use sc_executor::NativeElseWasmExecutor; use sc_executor::NativeExecutionDispatch; --- a/node/rpc/src/lib.rs +++ b/node/rpc/src/lib.rs @@ -216,6 +216,7 @@ let overrides = overrides_handle::<_, _, R>(client.clone()); + let execute_gas_limit_multiplier = 10; io.merge( Eth::new( client.clone(), @@ -230,7 +231,7 @@ block_data_cache.clone(), fee_history_cache, fee_history_limit, - 10, + execute_gas_limit_multiplier, ) .into_rpc(), )?; --- a/runtime/common/runtime_apis.rs +++ b/runtime/common/runtime_apis.rs @@ -482,6 +482,7 @@ }; let is_transactional = false; + let validate = false; ::Runner::call( CrossAccountId::from_eth(from), to, @@ -493,7 +494,7 @@ nonce, access_list.unwrap_or_default(), is_transactional, - false, + validate, config.as_ref().unwrap_or_else(|| ::config()), ).map_err(|err| err.error.into()) } @@ -519,6 +520,7 @@ }; let is_transactional = false; + let validate = false; ::Runner::create( CrossAccountId::from_eth(from), data, @@ -529,7 +531,7 @@ nonce, access_list.unwrap_or_default(), is_transactional, - false, + validate, config.as_ref().unwrap_or_else(|| ::config()), ).map_err(|err| err.error.into()) } -- gitstuff