mirror of https://github.com/nucypher/nucypher.git
include config migration for node_storage deprecation
parent
1fcf3c84a8
commit
356a8645f5
|
@ -0,0 +1,15 @@
|
|||
from typing import Dict
|
||||
|
||||
from nucypher.config.migrations.common import perform_migration
|
||||
|
||||
|
||||
def __migration(config: Dict) -> Dict:
|
||||
# deprecations
|
||||
del config["node_storage"]
|
||||
return config
|
||||
|
||||
|
||||
def configuration_v8_to_v9(filepath) -> None:
|
||||
perform_migration(
|
||||
old_version=8, new_version=9, migration=__migration, filepath=filepath
|
||||
)
|
Loading…
Reference in New Issue