Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Implement terminateChainInternal for interoperability #7044

Closed
Tracked by #6915
mitsuaki-u opened this issue Feb 23, 2022 · 0 comments · Fixed by #7095
Closed
Tracked by #6915

Implement terminateChainInternal for interoperability #7044

mitsuaki-u opened this issue Feb 23, 2022 · 0 comments · Fixed by #7095
Assignees
Labels
framework/module/interoperability Interoperability module
Milestone

Comments

@mitsuaki-u
Copy link
Contributor

mitsuaki-u commented Feb 23, 2022

Description

The terminateChainInternal function (internal) terminates a chain account for interoperability module.

terminateChainInternal(chainID):
    sendInternal(
        EMPTY_FEE_ADDRESS, 
        MODULE_ID_INTEROPERABILITY, 
        CROSS_CHAIN_COMMAND_ID_CHANNEL_TERMINATED, 
        chainID, 
        0, 
        CCM_STATUS_OK, 
        EMPTY_BYTES
    )

    return createTerminatedStateAccount(chainID)

Acceptance Criteria

  • Add unit tests for terminateChainInternal
@ishantiw ishantiw added framework/module/interoperability Interoperability module and removed framework labels Feb 23, 2022
@milenagojkovic milenagojkovic added this to the Sprint 64 milestone Feb 28, 2022
@milenagojkovic milenagojkovic modified the milestones: Sprint 64, Sprint 65 Mar 14, 2022
@milenagojkovic milenagojkovic modified the milestones: Sprint 65, Sprint 66 Mar 28, 2022
@mitsuaki-u mitsuaki-u self-assigned this Mar 29, 2022
@mitsuaki-u mitsuaki-u linked a pull request Mar 31, 2022 that will close this issue
@mitsuaki-u mitsuaki-u changed the title Implement terminateChain for interoperability Implement terminateChainInternal for interoperability Mar 31, 2022
mitsuaki-u added a commit that referenced this issue Apr 1, 2022
Implement `terminateChainInternal` - Closes #7044
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
framework/module/interoperability Interoperability module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants