From efee3d60e9ec1e174db9a44c0058c5648f3f7210 Mon Sep 17 00:00:00 2001 From: Kieran Prasch Date: Mon, 29 Apr 2019 23:56:00 +0300 Subject: [PATCH] add static nodes on every geth runtime --- nucypher/blockchain/eth/clients.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nucypher/blockchain/eth/clients.py b/nucypher/blockchain/eth/clients.py index cf3d4329d..d89a367d3 100644 --- a/nucypher/blockchain/eth/clients.py +++ b/nucypher/blockchain/eth/clients.py @@ -179,4 +179,9 @@ class NuCypherGethDevnetProcess(NuCypherGethProcess): return checksum_address def start(self, *args, **kwargs): + # FIXME: Quick and Dirty + + # Write static nodes file to data dir + bootnodes_filepath = os.path.join(DEPLOY_DIR, 'static-nodes.json') + shutil.copy(bootnodes_filepath, os.path.join(self.data_dir)) super().start()