mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-21 09:45:41 +00:00
Substrate 3.0 (#232)
* Update substrate deps to 3.0.0 and 0.9.0 * Update substrate wasm tools * Fixing errors for 3.0.0 compat * Fixing more errors for 3.0.0 compat * Use MultiAddress for test runtime * Fmt * Fix node test * Pin Funty * Update AccountInfo struct * Add comment about funty pin
This commit is contained in:
+4
-3
@@ -17,10 +17,11 @@ futures = { version = "0.3.9", features = ["compat"], package = "futures" }
|
||||
futures01 = { package = "futures", version = "0.1.29" }
|
||||
jsonrpsee = "0.1.0"
|
||||
log = "0.4.13"
|
||||
sc-network = { version = "0.8.1", default-features = false }
|
||||
sc-service = { version = "0.8.1", default-features = false }
|
||||
sc-network = { version = "0.9.0", default-features = false }
|
||||
sc-client-db = "0.9.0"
|
||||
sc-service = { version = "0.9.0", default-features = false }
|
||||
serde_json = "1.0.61"
|
||||
sp-keyring = "2.0.1"
|
||||
sp-keyring = "3.0.0"
|
||||
thiserror = "1.0.23"
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
+10
-3
@@ -57,6 +57,7 @@ use sc_service::{
|
||||
},
|
||||
ChainSpec,
|
||||
Configuration,
|
||||
KeepBlocks,
|
||||
RpcHandlers,
|
||||
RpcSession,
|
||||
TaskManager,
|
||||
@@ -232,7 +233,6 @@ impl<C: ChainSpec + 'static> SubxtClientConfig<C> {
|
||||
enable_mdns: true,
|
||||
allow_private_ipv4: true,
|
||||
wasm_external_transport: None,
|
||||
use_yamux_flow_control: true,
|
||||
};
|
||||
let telemetry_endpoints = if let Some(port) = self.telemetry {
|
||||
let endpoints = TelemetryEndpoints::new(vec![(
|
||||
@@ -265,13 +265,17 @@ impl<C: ChainSpec + 'static> SubxtClientConfig<C> {
|
||||
telemetry_endpoints,
|
||||
|
||||
telemetry_external_transport: Default::default(),
|
||||
telemetry_handle: Default::default(),
|
||||
telemetry_span: Default::default(),
|
||||
default_heap_pages: Default::default(),
|
||||
disable_grandpa: Default::default(),
|
||||
disable_log_reloading: Default::default(),
|
||||
execution_strategies: Default::default(),
|
||||
force_authoring: Default::default(),
|
||||
keep_blocks: KeepBlocks::All,
|
||||
keystore_remote: Default::default(),
|
||||
offchain_worker: Default::default(),
|
||||
prometheus_config: Default::default(),
|
||||
pruning: Default::default(),
|
||||
rpc_cors: Default::default(),
|
||||
rpc_http: Default::default(),
|
||||
rpc_ipc: Default::default(),
|
||||
@@ -286,6 +290,9 @@ impl<C: ChainSpec + 'static> SubxtClientConfig<C> {
|
||||
wasm_method: Default::default(),
|
||||
base_path: Default::default(),
|
||||
informant_output_format: Default::default(),
|
||||
state_pruning: Default::default(),
|
||||
transaction_storage: sc_client_db::TransactionStorageMode::BlockBody,
|
||||
wasm_runtime_overrides: Default::default(),
|
||||
};
|
||||
|
||||
log::info!("{}", service_config.impl_name);
|
||||
@@ -310,7 +317,7 @@ mod tests {
|
||||
use substrate_subxt::{
|
||||
balances::TransferCallExt,
|
||||
ClientBuilder,
|
||||
KusamaRuntime as NodeTemplateRuntime,
|
||||
NodeTemplateRuntime,
|
||||
PairSigner,
|
||||
};
|
||||
use tempdir::TempDir;
|
||||
|
||||
Reference in New Issue
Block a user