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

refactor: move atomicRearrange into Zcf #7900

Merged
merged 7 commits into from
Jul 27, 2023

Commits on Jul 17, 2023

  1. refactor: move atomicRearrange into Zcf

    This is the next step of #6577 (atomic reallocations for
    contracts). It adds native support in ZCF for atomicReallocate, which
    makes it possible to update contracts from the helper to use the
    ZCF-native approach, which is a prerequisite for removing the old
    hazardous staging-based approach.
    
    This PR only affects ZCF, though it updates types referenced from
    inter-protocol contracts. This is required in order to keep the
    mono-repo consistent, and has no run-time impact on the contracts,
    even if changes are pushed to some live contracts even before the ZOE
    change takes effect.
    
    The sample contracts in Zoe have also been updated to use the new
    API. These do not affect the interprotocol contracts. The only zoe
    contract referenced by inter-protocol contracts is
    scaledPriceAuthority, which is not changed here.
    
    The new code was tested with versions of the inter-protocol contracts
    updated to use the ZCF-native API. Those contracts were reverted to
    their old form before merging this PR since the contracts should be
    updated separately from Zoe. None of the contracts should be updated
    to use the new reallocation API until this PR is running on
    chain. They can be individually updated once this code is in place.
    Chris-Hibbert committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    63ee139 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff54e41 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    03ac2cd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f54a73b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b9c3ff2 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. Configuration menu
    Copy the full SHA
    8de8500 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. Configuration menu
    Copy the full SHA
    5a00ae1 View commit details
    Browse the repository at this point in the history