Skip to content

Commit

Permalink
switching to 1 para network
Browse files Browse the repository at this point in the history
  • Loading branch information
Overkillus committed Nov 24, 2023
1 parent 205c48d commit 7cca541
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,14 @@ requests = { memory = "2G", cpu = "1" }
command = "malus dispute-finalized-candidates"
args = [ "--alice", "-lparachain=debug,MALUS=trace", "--dispute-offset=3" ]

{% for id in range(2000,2002) %}
[[parachains]]
id = {{id}}
addToGenesis = true
genesis_state_generator = "undying-collator export-genesis-state --pov-size={{25000*(id-1999)}} --pvf-complexity={{id - 1999}}"
id = 2000

[parachains.collator]
image = "{{COL_IMAGE}}"
name = "collator"
command = "undying-collator"
args = ["-lparachain=debug", "--pov-size={{25000*(id-1999)}}", "--parachain-id={{id}}", "--pvf-complexity={{id - 1999}}"]

{% endfor %}
args = ["-lparachain=debug"]

[types.Header]
number = "u64"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ honest: reports node_roles is 4

# Ensure parachains are registered.
honest: parachain 2000 is registered within 30 seconds
honest: parachain 2001 is registered within 30 seconds

# Ensure parachains made progress.
honest: parachain 2000 block height is at least 10 within 200 seconds
honest: parachain 2001 block height is at least 10 within 200 seconds

# Ensure that malus is already attempting to dispute
malus: log line contains "😈 Disputing candidate with hash:" within 180 seconds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,14 @@ requests = { memory = "2G", cpu = "1" }
command = "malus dispute-finalized-candidates"
args = [ "--alice", "-lparachain=debug,MALUS=trace", "--dispute-offset=14" ]

{% for id in range(2000,2002) %}
[[parachains]]
id = {{id}}
addToGenesis = true
genesis_state_generator = "undying-collator export-genesis-state --pov-size={{25000*(id-1999)}} --pvf-complexity={{id - 1999}}"
id = 2000

[parachains.collator]
image = "{{COL_IMAGE}}"
name = "collator"
command = "undying-collator"
args = ["-lparachain=debug", "--pov-size={{25000*(id-1999)}}", "--parachain-id={{id}}", "--pvf-complexity={{id - 1999}}"]

{% endfor %}
args = ["-lparachain=debug"]

[types.Header]
number = "u64"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@ honest: reports node_roles is 4

# Ensure parachains are registered.
honest: parachain 2000 is registered within 30 seconds
honest: parachain 2001 is registered within 30 seconds

# Ensure parachains made progress.
honest: parachain 2000 block height is at least 20 within 300 seconds
honest: parachain 2001 block height is at least 20 within 300 seconds

# Ensure that malus is already attempting to dispute
malus: log line contains "😈 Disputing candidate with hash:" within 180 seconds

# Ensure that honest nodes don't participate and conclude any disputes
honest: count of log lines containing "Dispute on candidate concluded" is 0 within 30 seconds
honest: count of log lines containing "Dispute on candidate concluded" is 0 within 100 seconds

0 comments on commit 7cca541

Please sign in to comment.