diff --git a/neurons/validators/validator.py b/neurons/validators/validator.py index 3ed59ee..869c918 100644 --- a/neurons/validators/validator.py +++ b/neurons/validators/validator.py @@ -150,16 +150,12 @@ def __init__(self): if not self.config.neuron.axon_off: bt.logging.debug("serving ip to chain...") try: - axon = bt.axon( - wallet=self.wallet, metagraph=self.metagraph, config=self.config - ) + axon = bt.axon(wallet=self.wallet, config=self.config) try: self.subtensor.serve_axon( netuid=self.config.netuid, axon=axon, - use_upnpc=False, - wait_for_finalization=True, ) except Exception as e: bt.logging.error(f"Failed to serve Axon with exception: {e}") diff --git a/prompting/validators/config.py b/prompting/validators/config.py index f0a1d71..b7b5991 100644 --- a/prompting/validators/config.py +++ b/prompting/validators/config.py @@ -177,7 +177,7 @@ def add_args(cls, parser): # Note: the validator needs to serve an Axon with their IP or they may # be blacklisted by the firewall of serving peers on the network. help="Set this flag to not attempt to serve an Axon.", - default=True, + default=False, ) parser.add_argument(