Skip to content

Commit 7c6a300

Browse files
committed
wip(ci): DO NOT MERGE
1 parent 3295034 commit 7c6a300

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.github/workflows/ci.yml

+6-3
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"]
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-test-lab/mithril-end-to-end/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ pub struct Args {
7777
cardano_hard_fork_latest_era_at_epoch: u16,
7878

7979
/// Mithril run interval for nodes (in ms)
80-
#[clap(long, default_value_t = 125)]
80+
#[clap(long, default_value_t = 100)]
8181
mithril_run_interval: u32,
8282

8383
/// Mithril era to run

mithril-test-lab/mithril-end-to-end/src/mithril/aggregator.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::utils::MithrilCommand;
22
use crate::{
3-
PoolNode, DEVNET_MAGIC_ID, ERA_MARKERS_SECRET_KEY, ERA_MARKERS_VERIFICATION_KEY,
4-
GENESIS_SECRET_KEY, GENESIS_VERIFICATION_KEY,
3+
PoolNode, RetryableDevnetError, DEVNET_MAGIC_ID, ERA_MARKERS_SECRET_KEY,
4+
ERA_MARKERS_VERIFICATION_KEY, GENESIS_SECRET_KEY, GENESIS_VERIFICATION_KEY,
55
};
66
use anyhow::{anyhow, Context};
77
use mithril_common::era::SupportedEra;
@@ -209,6 +209,7 @@ impl Aggregator {
209209
anyhow!("`mithril-aggregator genesis bootstrap` was terminated with a signal")
210210
}
211211
})
212+
.map_err(|e| anyhow!(RetryableDevnetError(e.to_string())))
212213
}
213214
}
214215

0 commit comments

Comments
 (0)