commune-ai / commune

Commune Repo
88 stars 79 forks source link

register - wrong 'address' passing #78

Open uy5cu71 opened 10 months ago

uy5cu71 commented 10 months ago

Using both command register and dash (with module register)

It passing module name to 'address'. Instead of server IP. Basically make it invalid and nobody can connect to your server

Launching class:ValiTextRealfake name:vali.text.realfake::logic fn:serve mode:pm2
Connecting to ws://165.22.186.112:50055
compose_kwargs
{
    'call_module': 'SubspaceModule',
    'call_function': 'register',
    'call_params': {'network': b'commune', 'address': b'vali.text.realfake::logic', 'name': b'vali.text.realfake::logic', 'stake': 81000000000.0, 'module_key': '5DRwA3SDMYjE4TkEZwe1qFT3siKg77CzdA5ukFNHBq5P5p96'}
}

and

        'uid': 170,
        'address': 'vali.text.realfake::logic', <<<<<<<<<<<<<<<<<<- should be server IP here
        'name': 'vali.text.realfake::logic',
        'key': '5DRwA3SDMYjE4TkEZwe1qFT3siKg77CzdA5ukFNHBq5P5p96',
        'emission': 0.006000266,
        'incentive': 0.0,
        'trust': 0,
        'dividends': 0.0,
        'stake_from': [('5DRwA3SDMYjE4TkEZwe1qFT3siKg77CzdA5ukFNHBq5P5p96', 0.001200053), ('5Fn7qxxP9x1ezarLLfwT9hc3q16aRaQcMo7U1Ln8mJ5eGFqX', 81.004800213)],
        'regblock': 188214,
        'last_update': 188631,
        'delegation_fee': 20,
        'stake': 81.006000266,
Supremesource commented 9 months ago

@uy5cu71 please reopen your issues with the strict format