Skip to content

register - wrong 'address' passing #78

@uy5cu71

Description

@uy5cu71

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions