Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow disabling limits after deployment #1492

Merged
merged 15 commits into from
Jul 29, 2021

Commits on Jul 29, 2021

  1. Add createERC20TokenNetworkWithoutLimits

    This is just a convenience function, but I think it will be nice to have
    once we start removing the limits from the code base.
    karlb committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    0e529e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    97a89ed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7cae7b5 View commit details
    Browse the repository at this point in the history
  4. Rename deprecation_executor to controller

    This user can now also remove limits. It is renamed to make this clear.
    karlb committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    48a9d1c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2b9da79 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9487b36 View commit details
    Browse the repository at this point in the history
  7. Enforce limitless TNs after limit removal in TNR

    We want the limit removal to be completely done once we do it. When new
    TN are deployed afterwards, they must be deployed without limits.
    
    Closes raiden-network#1416
    karlb committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    e2bee49 View commit details
    Browse the repository at this point in the history
  8. Make solium happy by moving constant

    Solidity allows to have constants outside the contract. Unfortunately,
    solium does seem to understand this and throws a syntax errors. Those
    can't be silenced, since they break parsing for the whole file.
    karlb committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    a824fbe View commit details
    Browse the repository at this point in the history
  9. Split controller handling into Controllable

    Less duplication, better separation of concerns.
    karlb committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    de16068 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    60c9832 View commit details
    Browse the repository at this point in the history
  11. Make MAX_SAFE_UINT256 available w/o inheritance

    This requires turning off solium for
    raiden_contracts/data/source/lib/TokenNetworkUtils.sol, since it does
    not understand declarations outside of the contract.
    
    Also write the number as `2**256 - 1` to make it more clear that this is
    the right value.
    karlb committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    1831e42 View commit details
    Browse the repository at this point in the history
  12. Move Controllable to raiden dir

    It never belonged into the service dir. I just got confused.
    karlb committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    ecfcd2a View commit details
    Browse the repository at this point in the history
  13. Use Controllable in ServiceRegistry

    This does not only reduce redundancy in code, but also allows to change
    the controller of the ServiceRegistry.
    karlb committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    b08f4fc View commit details
    Browse the repository at this point in the history
  14. Compile contracts

    karlb committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    3859307 View commit details
    Browse the repository at this point in the history
  15. Update gas costs

    karlb committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    e776673 View commit details
    Browse the repository at this point in the history