Skip to content

Commit e44405b

Browse files
authored
fix: client implementation (#889)
1 parent ff4b170 commit e44405b

File tree

5 files changed

+222
-7
lines changed

5 files changed

+222
-7
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ stages:
88

99
build-production-wasm:
1010
image:
11-
name: paritytech/srtool:1.75.0
11+
name: paritytech/srtool:1.81.0
1212
entrypoint: [""]
1313
stage: build
1414
parallel:

nodes/parachain/src/service.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ use sc_network_sync::SyncingService;
3939
use sc_service::{Configuration, TFullBackend, TFullClient, TaskManager};
4040
use sc_telemetry::{Telemetry, TelemetryHandle, TelemetryWorker, TelemetryWorkerHandle};
4141
use sp_api::ConstructRuntimeApi;
42-
use sp_io::SubstrateHostFunctions;
4342
use sp_keystore::KeystorePtr;
4443
use sp_runtime::traits::BlakeTwo256;
4544
use std::{sync::Arc, time::Duration};
@@ -55,11 +54,11 @@ type Header = sp_runtime::generic::Header<BlockNumber, sp_runtime::traits::Blake
5554
pub(crate) type Block = sp_runtime::generic::Block<Header, sp_runtime::OpaqueExtrinsic>;
5655

5756
#[cfg(not(feature = "runtime-benchmarks"))]
58-
type HostFunctions = SubstrateHostFunctions;
57+
type HostFunctions = cumulus_client_service::ParachainHostFunctions;
58+
5959
#[cfg(feature = "runtime-benchmarks")]
6060
type HostFunctions = (
61-
SubstrateHostFunctions,
62-
cumulus_client_service::storage_proof_size::HostFunctions,
61+
cumulus_client_service::ParachainHostFunctions,
6362
frame_benchmarking::benchmarking::HostFunctions,
6463
);
6564

zombienet/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ In case the relaychain version should be updated to reflect what is deployed on
5151
1. Head to the [paseo-network/runtimes repo](https://github.com/paseo-network/runtimes)
5252
2. Checkout the right tag corresponding to the new version to deploy in the Zombienet environment, e.g., [`v1.3.1`](https://github.com/paseo-network/runtimes/tree/v1.3.1)
5353
3. Run `cargo run --release --features fast-runtime -p chain-spec-generator -- paseo-local > out.json`, which saves the new chainspec into a temporary `out.json` file
54-
4. Move the file into `runtimes/peregrine` and rename it to `paseo-local-fast-<version_tag>-<commit_sha>.json`, e.g., `polkadot-local-fast-v1.3.1-e1fd37c`
54+
4. Move the file into `runtimes/peregrine` and rename it to `paseo-local-fast-<version_tag>-<commit_sha>.json`, e.g., `paseo-local-fast-v1.3.1-e1fd37c`
5555
5. Update the `peregrine/.env` file to set the right Docker image tag for the `RELAY_IMAGE` variable

zombienet/runtimes/peregrine/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
RELAY_IMAGE=parity/polkadot:v1.15.2
22
RELAY_RPC=50001
3-
PARA_IMAGE=kiltprotocol/kilt-node:1.14.3
3+
PARA_IMAGE=kiltprotocol/kilt-node:1.15.2
44
PARA_RPC=50010

zombienet/runtimes/peregrine/paseo-local-fast-v1.4.3-3de4702.json

Lines changed: 216 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)