Skip to content

Commit c070d80

Browse files
committed
wip(ci): DO NOT MERGE
1 parent 7fbd5d1 commit c070d80

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,13 +294,16 @@ jobs:
294294
strategy:
295295
fail-fast: false
296296
matrix:
297-
mode: ["std"]
297+
mode: ["master-slave"]
298298
era: ${{ fromJSON(needs.build-ubuntu-X64.outputs.eras) }}
299299
next_era: [""]
300300
cardano_node_version: ["10.1.3", "10.1.4", "10.2.1"]
301301
hard_fork_latest_era_at_epoch: [0]
302-
run_id: ["#1", "#2"]
303-
extra_args: [""]
302+
run_id: ["#1", "#2", "#3", "#4", "#5", "#6", "#7", "#8", "#9", "#10"]
303+
extra_args:
304+
[
305+
"--number-of-aggregators=2 --use-relays --relay-signer-registration-mode=passthrough --relay-signature-registration-mode=p2p",
306+
]
304307

305308
include:
306309
# Include a test for partial decentralization with master/slave signer registration and P2P signature registration

mithril-aggregator/src/runtime/state_machine.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ impl AggregatorRuntime {
265265
.update_stake_distribution(&new_time_point)
266266
.await?;
267267
self.runner.inform_new_epoch(new_time_point.epoch).await?;
268-
self.runner.upkeep(new_time_point.epoch).await?;
268+
//self.runner.upkeep(new_time_point.epoch).await?;
269269
self.runner
270270
.open_signer_registration_round(&new_time_point)
271271
.await?;

mithril-test-lab/mithril-end-to-end/src/assertions/exec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub async fn bootstrap_genesis_certificate(aggregator: &Aggregator) -> StdResult
1212
// This should be removed when the aggregator is able to synchronize its certificate chain from another aggregator
1313
if !aggregator.is_first() {
1414
tokio::time::sleep(std::time::Duration::from_millis(
15-
5 * aggregator.mithril_run_interval() as u64,
15+
3 * aggregator.mithril_run_interval() as u64,
1616
))
1717
.await;
1818
}

mithril-test-lab/mithril-end-to-end/src/assertions/wait.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ pub async fn wait_for_aggregator_at_target_epoch(
7878
"target_epoch" => ?target_epoch
7979
);
8080

81-
match attempt!(90, Duration::from_millis(1000), {
81+
match attempt!(450, Duration::from_millis(200), {
8282
match aggregator
8383
.chain_observer()
8484
.get_current_epoch()

0 commit comments

Comments
 (0)