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

Implement createTerminatedOutboxAccount function #7053

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

Implement createTerminatedOutboxAccount function #7053

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

Comments

@mitsuaki-u
Copy link
Contributor

Description

Add createTerminatedOutboxAccount to interoperability store:

createTerminatedOutboxAccount(chainID, outboxRoot, outboxSize, partnerChainInboxSize):
    terminatedOutbox = {
        "outboxRoot": outboxRoot, 
        "outboxSize": outboxSize, 
        "partnerChainInboxSize": partnerChainInboxSize
    }
    create an entry in the terminated outbox substore with
        storeKey = uint32be(chainID)
        storeValue = serialization of terminatedOutbox

    return True

Acceptance Criteria

  • Add unit tests for all function paths
@mitsuaki-u mitsuaki-u added the framework/module/interoperability Interoperability module label Feb 24, 2022
@ishantiw ishantiw changed the title Implmenent createTerminatedOutboxAccount function Implement createTerminatedOutboxAccount function Mar 4, 2022
@mitsuaki-u mitsuaki-u self-assigned this Mar 24, 2022
@ishantiw ishantiw added this to the Sprint 65 milestone Mar 25, 2022
@ishantiw ishantiw moved this from Backlog to In Progress in Lisk SDK Version 6.0.0 Mar 25, 2022
@milenagojkovic milenagojkovic modified the milestones: Sprint 65, Sprint 66 Mar 28, 2022
@mitsuaki-u mitsuaki-u linked a pull request Mar 29, 2022 that will close this issue
@mitsuaki-u mitsuaki-u moved this from In Progress to Pending Review in Lisk SDK Version 6.0.0 Mar 29, 2022
ishantiw added a commit that referenced this issue Mar 29, 2022
Implement `createTerminatedOutbox` - Closes #7053
@milenagojkovic milenagojkovic moved this from Pending Review to Done in Lisk SDK Version 6.0.0 Mar 29, 2022
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