Skip to content

prepare for migration to zcf atomicTransfer() #798

Closed
@Chris-Hibbert

Description

@Chris-Hibbert

@erights came up with a new approach to managing reallocation in contracts (6577) that we have been very happy with. We have been planning to migrate the temporary helper into ZCF (6679) and remove the old approach, but we neglected to warn the developers that this major change was coming.

We should, ASAP, prepare documentation on use of the atomicTransfer helper, and explain that it will be moved into ZCF shortly, but more importantly, we should add deprecation annotations to the existing incrementBy and decrementBy ZCF functions so our developers know what to expect.

Luckily, all our contracts are now written in the interim style, so anyone reading our code will see examples of the new approach.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions