File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ fn default_blocks_pruning() -> DatabasePruningMode {
18
18
}
19
19
20
20
fn pruning_changed ( params : & PruningParams ) -> bool {
21
- let state_pruning_changed = params. state_pruning != default_state_pruning ( ) ;
21
+ let state_pruning_changed =
22
+ params. state_pruning . is_some ( ) && ( params. state_pruning != default_state_pruning ( ) ) ;
22
23
23
24
let blocks_pruning_changed = params. blocks_pruning != default_blocks_pruning ( ) ;
24
25
Original file line number Diff line number Diff line change 42
42
43
43
ARGS=(
44
44
--validator
45
- --state-pruning archive
46
45
--execution Native
47
46
--name " ${NAME} "
48
47
--base-path " ${BASE_PATH} "
Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ run_node() {
83
83
./target/release/aleph-node purge-chain --base-path $BASE_PATH /$account_id --chain $BASE_PATH /chainspec.json -y
84
84
./target/release/aleph-node \
85
85
$validator \
86
- --state-pruning=archive \
87
86
--chain $BASE_PATH /chainspec.json \
88
87
--base-path $BASE_PATH /$account_id \
89
88
--name $auth \
You can’t perform that action at this time.
0 commit comments