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

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
@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
ishantiw added a commit that referenced this issue Mar 29, 2022
Implement `createTerminatedOutbox` - Closes #7053
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework/module/interoperability Interoperability module
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

3 participants