mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 02:51:01 +00:00
Zombienet: paritydb test (#5310)
* Add test Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * gitlab integration Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * tune test Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * Try waiting for nodes to be up before checks Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * Use js check for paritydb folder Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * artifacts true Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * change error message Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * debug Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * try again Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * use log line contains for test * bump zombienet verision for test * Is approval checking lag 0 on rocksdb ? Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * Is approval checking lag 1 with paritydb ? Signed-off-by: Andrei Sandu <andrei-mihail@parity.io> * update zombienet test for parityDb * Update zombienet_tests/misc/0001-check_paritydb.sh Co-authored-by: Chevdor <chevdor@users.noreply.github.com> Co-authored-by: Javier Viola <javier@parity.io> Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
[settings]
|
||||
timeout = 1000
|
||||
bootnode = true
|
||||
|
||||
[relaychain.genesis.runtime.runtime_genesis_config.configuration.config]
|
||||
max_validators_per_core = 1
|
||||
needed_approvals = 3
|
||||
|
||||
[relaychain]
|
||||
default_image = "{{ZOMBIENET_INTEGRATION_TEST_IMAGE}}"
|
||||
chain = "rococo-local"
|
||||
chain_spec_command = "polkadot build-spec --chain rococo-local"
|
||||
default_command = "polkadot"
|
||||
|
||||
[relaychain.default_resources]
|
||||
limits = { memory = "4G", cpu = "2" }
|
||||
requests = { memory = "2G", cpu = "1" }
|
||||
|
||||
[[relaychain.node_groups]]
|
||||
name = "validator"
|
||||
count = 10
|
||||
args = ["-lparachain=debug", "--db=paritydb"]
|
||||
|
||||
{% for id in range(2000,2010) %}
|
||||
[[parachains]]
|
||||
id = {{id}}
|
||||
addToGenesis = true
|
||||
genesis_state_generator = "undying-collator export-genesis-state --pov-size={{10000*(id-1999)}} --pvf-complexity={{id - 1999}}"
|
||||
[parachains.collator]
|
||||
name = "collator"
|
||||
image = "{{COL_IMAGE}}"
|
||||
command = "undying-collator"
|
||||
args = ["-lparachain=debug", "--pov-size={{10000*(id-1999)}}", "--parachain-id={{id}}", "--pvf-complexity={{id - 1999}}"]
|
||||
|
||||
{% endfor %}
|
||||
|
||||
[types.Header]
|
||||
number = "u64"
|
||||
parent_hash = "Hash"
|
||||
post_state = "Hash"
|
||||
Reference in New Issue
Block a user