include config migration for node_storage deprecation

remotes/origin/v7.4.x
KPrasch 2024-01-12 12:50:31 +01:00 committed by Derek Pierre
parent 1fcf3c84a8
commit 356a8645f5
1 changed files with 15 additions and 0 deletions

View File

@ -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
)