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

Create CCU - Closes #7224 #7438

Merged
merged 1 commit into from
Oct 6, 2022
Merged

Conversation

has5aan
Copy link
Contributor

@has5aan has5aan commented Aug 22, 2022

What was the problem?

This PR resolves #7224

How was it solved?

Implementation of _createCCUParams, _calculateInboxUpdate, _rawStateStoreKey, _validateCertificate and _verifyLiveness functions.

How was it tested?

Implemented unit tests.

Copy link
Contributor

@ishantiw ishantiw left a comment

Choose a reason for hiding this comment

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

I think overall logic looks good to me, some general comments

Copy link
Contributor

@ricott1 ricott1 left a comment

Choose a reason for hiding this comment

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

I reviewed only _calculateInboxUpdate for the moment.

@has5aan has5aan marked this pull request as ready for review August 31, 2022 07:39
@has5aan has5aan changed the title Create CCU - Closes 7224 Create CCU - Closes #7224 Sep 2, 2022
Copy link
Contributor

@ishantiw ishantiw left a comment

Choose a reason for hiding this comment

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

I think overall implementation looks good to me, there is a comment and also there is a recent change:

  1. CCU Params schema change => newCertificateThreshold->certificateThreshold
  2. networkIdentifier is removed and chainID is used instead

Copy link
Contributor

@ishantiw ishantiw left a comment

Choose a reason for hiding this comment

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

Some comments but still reviewing the logic and will add more comments if needed

@ishantiw ishantiw merged commit 9813fb6 into feature/6918-chain-connector Oct 6, 2022
@ishantiw ishantiw deleted the 7224-CreateCCU branch October 6, 2022 07:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement createCCU function for chain connector plugin
4 participants