Skip to content

Remove hard coded Gas Limit to allow arbitrary contract code registration. #38

@jfarid27

Description

@jfarid27

Description

Currently, you cannot use arbitrary contract code to call on a registration for a darknode because of the hard coded gas limit found here:

const hardCodedGas = 500000;

Steps to Reproduce

  1. Try to approve an Aragon Agent to register a darknode. Console will error with gas required exceeds allowance (10000000) or always failing transaction.

Possible Fixes

  • Remove the hard coded gas limit. I believe this should fix things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions