Skip to content

Commit 3742d47

Browse files
committed
fix(spartan): rename upgrade_via_cli back to upgrade_rollup_version and add prover milestone
1 parent ee1d59b commit 3742d47

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

spartan/bootstrap.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ _emit_test() { echo "$_test_cmd_prefix $_test_cmd_run src/spartan/$1"; }
7777
function network_test_cmds_1 {
7878
_emit_test smoke.test.ts
7979
_emit_test reorg.test.ts
80-
_emit_test upgrade_via_cli.test.ts
80+
_emit_test upgrade_rollup_version.test.ts
8181
_emit_test validator_ha.test.ts
8282
}
8383

@@ -289,7 +289,7 @@ case "$cmd" in
289289
source_network_env kind-provers
290290
namespace="upgrade-rollup-version${NAME_POSTFIX:-}"
291291
INSTALL_METRICS=false \
292-
./scripts/test_kind.sh src/spartan/upgrade_via_cli.test.ts "$namespace"
292+
./scripts/test_kind.sh src/spartan/upgrade_rollup_version.test.ts "$namespace"
293293
;;
294294
"network_teardown")
295295
env_file="$1"

spartan/scripts/k8s_enricher.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ const MILESTONE_PATTERNS = [
169169
/Published epoch proof/,
170170
/Updated proven chain to checkpoint/,
171171
/Downloaded checkpoint/,
172+
/Job id=\S+ type=\S+ completed/,
172173
];
173174

174175
const LIFECYCLE_REASONS = new Set([

yarn-project/end-to-end/src/spartan/upgrade_via_cli.test.ts renamed to yarn-project/end-to-end/src/spartan/upgrade_rollup_version.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import {
3131

3232
const config = setupEnvironment(process.env);
3333

34-
const debugLogger = createLogger('e2e:spartan-test:upgrade_via_cli');
34+
const debugLogger = createLogger('e2e:spartan-test:upgrade_rollup_version');
3535

3636
/**
3737
* Deployment result from the deploy_rollup_upgrade.sh script.
@@ -104,7 +104,7 @@ function bumpManaTargetInNetworkDefaults(currentManaTarget: bigint): () => void
104104

105105
// This test deploys a new rollup version using the deploy_rollup_upgrade.sh script
106106
// and goes through the governance process to register it
107-
describe('spartan_upgrade_via_cli', () => {
107+
describe('spartan_upgrade_rollup_version', () => {
108108
let aztecNode: AztecNode;
109109
let nodeInfo: NodeInfo;
110110
let ETHEREUM_HOSTS: string[];
@@ -139,7 +139,7 @@ describe('spartan_upgrade_via_cli', () => {
139139
it('should deploy a new rollup via deploy script and upgrade via governance', async () => {
140140
const chain = createEthereumChain(ETHEREUM_HOSTS, nodeInfo.l1ChainId);
141141

142-
// Derive private key from mnemonic (same as upgrade_rollup_version.test.ts)
142+
// Derive private key from mnemonic
143143
const hdAccount = mnemonicToAccount(MNEMONIC, { addressIndex: 0 });
144144
const hdKey = hdAccount.getHdKey();
145145
if (!hdKey.privateKey) {
@@ -652,6 +652,6 @@ describe('spartan_upgrade_via_cli', () => {
652652
),
653653
).resolves.toBe(true);
654654

655-
debugLogger.info('Successfully verified new rollup is producing and proving blocks via CLI deploy');
655+
debugLogger.info('Successfully verified new rollup is producing and proving blocks');
656656
});
657657
});

0 commit comments

Comments
 (0)