forked from aptos-labs/aptos-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[aptos-node] Allow running test from pre-existing state
Prior to this commit, running with --test and --config with an existing path resulted in an overwrite of the existing state. This attempts to reload a config and fails otherwise. Tested via `cargo run --package aptos-node -- --test --config test_config` ctrl-c md5sum test_config/mint.key `cargo run --package aptos-node -- --test --config test_config` ctrl-c md5sum test_config/mint.key where both mint.keys were the same and the node resumed healthy Maybe this was never supported, but that shouldn't have been the case. A nice follow up task would be to see if --config points to test_config/0/node.yaml and handle that as well.
- Loading branch information
Showing
1 changed file
with
57 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters