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

Migrations #33

Merged
merged 1 commit into from
Jul 7, 2023
Merged

Migrations #33

merged 1 commit into from
Jul 7, 2023

Conversation

Art3miX
Copy link
Collaborator

@Art3miX Art3miX commented Jul 7, 2023

Added migrations to all contracts.
All of them can be called optionally from the covenant contract, which should be the admin of all other contracts.

Everything is optional, so you can send msg to covenant to only pause clock:

{"update_config" : {
    "clock" : { "pause" : {} }
}}

Update withdrawer on holder contract:

{"update_config" : {
    "holder" : { "update_withdrawer" : { "withdrawer": "some_withdrawer" } }
}}

Or both at the same time:

{"update_config" : {
    "clock" : { "pause" : {} },
    "holder" : { "update_withdrawer" : { "withdrawer": "some_withdrawer" } }
}}

@Art3miX Art3miX requested a review from bekauz July 7, 2023 09:40
Copy link
Collaborator

@bekauz bekauz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. let's test this as soon as this and #27 are merged.

@bekauz bekauz merged commit 3a500e9 into main Jul 7, 2023
@Art3miX Art3miX deleted the art3mix/migration-2 branch July 18, 2023 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants