- Feb 13, 2024
-
-
Frank Bell authored
Testing with moonbeam and found that the resulting chainspec produced using the `moonbase-local` chain develops the following issue after the generated plain chainspec is updated with the relevant para id: ``` Error: Zombienet(SpawnerError(Provider error Caused by: File generation failed: Error: Service(Other("Error parsing spec file: trailing characters at line 25 column 14")) ``` The initial chainspec built from the binary is fine, but once https://github.com/paritytech/zombienet-sdk/blob/e60deb25/crates/orchestrator/src/generators/chain_spec.rs#L345-L349 runs the issue occurs, as seen in the the following diff: ``` --- moonbase-local-plain copy.json 2024-02-11 02:51:15 +++ moonbase-local-plain.json 2024-02-11 02:52:24 @@ -11,7 +11,7 @@ "tokenSymbol": "UNIT" }, "relayChain": "westend-local", - "paraId": 1000, + "paraId": 2000, "codeSubstitutes": {}, "genesis": { "runtime": { \ No newline at end of file @@ -22,19 +22,19 @@ "balances": [ [ "0xf24ff3a9cf04c71dbc94d0b566f7a27b94566cac", - 1208925819614629174706176 + 1.2089258196146292e24 ], [ "0x3cd0a705a2dc65e5b1e1205896baa2be8a07c6e0", - 1208925819614629174706176 + 1.2089258196146292e24 ], [ "0x798d4ba9baf0064ec19eb4f0a1a45785ae9d6dfc", - 1208925819614629174706176 + 1.2089258196146292e24 ], [ "0x773539d4ac0e786233d90a233654ccee26a613d9", - 1208925819614629174706176 + 1.2089258196146292e24 ] ] }, \ No newline at end of file @@ -45,7 +45,7 @@ "multiplier": "8000000000000000000" }, "parachainInfo": { - "parachainId": 1000 + "parachainId": 2000 }, "ethereumChainId": { "chainId": 1280 \ No newline at end of file @@ -503,19 +503,19 @@ "candidates": [ [ "0xf24ff3a9cf04c71dbc94d0b566f7a27b94566cac", - 1000000000000000000000 + 1e21 ], [ "0x3cd0a705a2dc65e5b1e1205896baa2be8a07c6e0", - 1000000000000000000000 + 1e21 ] ], "delegations": [], "inflationConfig": { "expect": { - "min": 100000000000000000000000, - "ideal": 200000000000000000000000, - "max": 500000000000000000000000 + "min": 1e23, + "ideal": 2e23, + "max": 5e23 }, "annual": { "min": 40000000, \ No newline at end of file @@ -552,7 +552,7 @@ "eligibleCount": 50 }, "crowdloanRewards": { - "fundedAmount": 3000000000000000000000000 + "fundedAmount": 3e24 }, "authorMapping": { "mappings": [ \ No newline at end of file @@ -611,6 +611,11 @@ "0xf24ff3a9cf04c71dbc94d0b566f7a27b94566cac", "0x3cd0a705a2dc65e5b1e1205896baa2be8a07c6e0" ] + }, + "aura": { + "authorities": [ + "5HEL3iLyDyaqmfibHXAXVzyQq4fBqLCHGMEYxZXgRAuhEKXX" + ] } } } ``` The fix appears to be to enable the [`arbitrary_precision`](https://github.com/serde-rs/json/blob/master/Cargo.toml#L75) feature on `serde_json`, which can be seen at https://github.com/paritytech/polkadot-sdk/pull/2987/files. Manually tested and solves the issue for me.
-
- Feb 08, 2024
-
-
Javier Viola authored
We want to add an `startupProbe` setting to the fileserver pod.
-
- Jan 30, 2024
-
-
Loris Moulin authored
-
Nikos Kontakis authored
-
Loris Moulin authored
-
Loris Moulin authored
-
- Jan 24, 2024
-
-
PG Herveou authored
-
- Jan 19, 2024
-
-
Loris Moulin authored
-
Loris Moulin authored
-
Loris Moulin authored
-
Loris Moulin authored
-
Loris Moulin authored
-
Loris Moulin authored
-
Loris Moulin authored
- Added basic axum fileserver to upload/download files temporary to prevent error due to failure with exec + tar using kube.rs - Added build and push to repository of image to be used in k8s
-
- Jan 18, 2024
-
-
Loris Moulin authored
-
Loris Moulin authored
-
Loris Moulin authored
-
Loris Moulin authored
-
Loris Moulin authored
-
- Jan 08, 2024
-
-
Tsvetomir Dimitrov authored
-
- Jan 06, 2024
-
-
Javier Viola authored
Add cache to workflows.
-
- Nov 29, 2023
-
-
Javier Viola authored
This pr make possible to add a new parachain to a running network (see `add_para.rs` example), for that we allow to create a new parachain config (using the same builder but in a different context) like this: ```rs let para_config = network.para_config_builder() .with_id(100) .with_default_command("polkadot-parachain") .with_collator(|c| { c.with_name("col-100-1") }) .build()?; ``` And then deploy that parachain by calling `add_parachain` (the second parameter of the fn allow to use a custom chain-spec for the relaychain). ```rs network.add_parachain(¶_config, None).await?; ``` // TODO: - [x] docs - [ ] test (integration)
-
- Nov 27, 2023
-
-
Javier Viola authored
Small fix for `pjs` example.
-
Javier Viola authored
- Add `pjs-rs` support and mimic the [javascript](https://polkadot.js.org/apps/#/js) tab from polkadot.js apps/ - Allow to use an external file or just an string with the `js/ts` code, TODO: We should implement integration tests for this feature.
-
- Nov 26, 2023
-
-
Javier Viola authored
-
- Nov 24, 2023
-
-
Javier Viola authored
-
- Nov 14, 2023
-
-
Javier Viola authored
-
Javier Viola authored
-
Javier Viola authored
-
- Nov 12, 2023
-
-
Javier Viola authored
Changes to publish `0.1.0-alpha.0` version.
-
- Nov 09, 2023
-
-
Javier Viola authored
Fix parachain spec filename (local) to use when we spawn collators. Also, adding `Context` to spawner to improve error reporting. cc @pgherveou --------- Co-authored-by:
PG Herveou <[email protected]>
-
- Nov 08, 2023
-
-
Javier Viola authored
Adding `tracing` and replace all the `println`. We should add more info in a followup pr. Thx!
-
Javier Viola authored
Call `add_collator_selection` to customize `invulnerables` for both session and aura keys. cc @pgherveou
-
- Nov 07, 2023
-
-
PG Herveou authored
Following up on take 1 https://github.com/paritytech/zombienet-sdk/pull/124 Apart from better logs, I realize that one of the only thing missing now for us to start consuming this project is a top level package available (with it's dependencies) on crates.io. This PR serves mainly as a discussion point to get there. It would be great if we could publish an early version (0.0.1?) on crates.io so that we can start using this asap.
-
- Nov 06, 2023
-
-
Javier Viola authored
Register the parachains (that aren't included in the genesis) after we run the verifier and remove the need for using sleep. Thx!
-
- Oct 24, 2023
-
-
PG Herveou authored
just wanted to throw a quick implementation that exposes the OnclineClient on the node. This would make the sdk super useful to enable cross chain e2e tests in ink! --------- Co-authored-by:
Javier Viola <[email protected]>
-
- Oct 20, 2023
-
-
Loris Moulin authored
- Split native provider into multiple smaller files and each with their respective tests - Update ProviderNode.command() to ProviderNode.program() - Update ProviderNamespace.id() to ProviderNamespace.name()
-
- Oct 11, 2023
-
-
Loris Moulin authored
-
- Oct 06, 2023
-
-
Nikos Kontakis authored
-
Nikos Kontakis authored
-