Skip to content

Commit 7a13abb

Browse files
committed
fix: graceful restarts.
2 parents 61c8c0c + 2d8fcdf commit 7a13abb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/build-push-containers.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -513,5 +513,6 @@ jobs:
513513
514514
- name: Run docker-compose local.setup.test
515515
run: |
516-
# timeout here nneds to be 10m so that services have time to stop properly
516+
nix develop --command bash -c "just container-test"
517+
# run again to test restarts
517518
nix develop --command bash -c "just container-test"

protocol-units/execution/opt-executor/src/executor/initialization.rs

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ impl Executor {
7070
(genesis, test_validators)
7171
}
7272

73+
/// Bootstrap a database with a genesis transaction if it is empty.
7374
pub fn maybe_bootstrap_empty_db(
7475
db_dir: &PathBuf,
7576
chain_id: ChainId,

0 commit comments

Comments
 (0)