diff --git a/cmd/sovereignnode/config/sovereignConfig.toml b/cmd/sovereignnode/config/sovereignConfig.toml index 5331b8dc18..21d3cfa53a 100644 --- a/cmd/sovereignnode/config/sovereignConfig.toml +++ b/cmd/sovereignnode/config/sovereignConfig.toml @@ -50,7 +50,7 @@ # Running an additional main chain light node as a notifier requires extra hardware resources. # When disabled, the node will rely on and trust incoming headers from the main chain proposed by other leaders. # Disabling this flag can be useful in scenarios where additional validation infrastructure isn't necessary. - Enabled = true + Enabled = false SubscribedEvents = [ { Identifier = "deposit", Addresses = ["erd1qyu5wthldzr8wx5c9ucg8kjagg0jfs53s8nr3zpz3hypefsdd8ssycr6th"] }, diff --git a/scripts/testnet/sovereignBridge/pyScripts/update_toml.py b/scripts/testnet/sovereignBridge/pyScripts/update_toml.py index 747bdbb8be..6810c1644d 100644 --- a/scripts/testnet/sovereignBridge/pyScripts/update_toml.py +++ b/scripts/testnet/sovereignBridge/pyScripts/update_toml.py @@ -29,7 +29,7 @@ def update_key(lines, key, value) -> []: return updated_lines -def enable_grpc(lines, section): +def enable_key(lines, section): updated_lines = [] section_found = False @@ -51,7 +51,8 @@ def update_sovereign_config(file_path, main_chain_address, sovereign_chain_addre updated_lines = update_subscribed_addresses(lines, "OutgoingSubscribedEvents", "deposit", sovereign_chain_address) updated_lines = update_subscribed_addresses(updated_lines, "NotifierConfig", "deposit", main_chain_address) updated_lines = update_subscribed_addresses(updated_lines, "NotifierConfig", "execute", main_chain_address) - updated_lines = enable_grpc(updated_lines, "OutGoingBridge") + updated_lines = enable_key(updated_lines, "OutGoingBridge") + updated_lines = enable_key(updated_lines, "NotifierConfig") with open(file_path, 'w') as file: file.writelines(updated_lines)