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

Change interoperability genesis asset schema #256

Merged
merged 13 commits into from
Feb 17, 2023
Merged

Conversation

sergeyshemyakov
Copy link
Contributor

Closes #248.

@sergeyshemyakov sergeyshemyakov self-assigned this Feb 10, 2023
@sergeyshemyakov sergeyshemyakov changed the title Change genesis asset schema Change interoperability genesis asset schema Feb 10, 2023
proposals/lip-0045.md Outdated Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
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 left several comments. My main ones are about precisely defining 'empty' substores.

@ricott1 ricott1 assigned ricott1 and unassigned sergeyshemyakov Feb 14, 2023
@ricott1
Copy link
Contributor

ricott1 commented Feb 14, 2023

Currently, we allow for direct channels in the genesis block, but maybe we shouldn't as this is not possible to do with the current protocol. If we don't, the protocol would become drastically simpler.

@ricott1 ricott1 requested review from ricott1 and removed request for ricott1 February 14, 2023 13:02
@ricott1 ricott1 requested review from ricott1 and removed request for ricott1 February 14, 2023 13:03
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.

Created related issue on SDK LiskArchive/lisk-sdk#8151

proposals/lip-0045.md Show resolved Hide resolved
proposals/lip-0045.md Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
proposals/lip-0045.md Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
proposals/lip-0045.md Outdated Show resolved Hide resolved
Co-authored-by: AndreasKendziorra <[email protected]>
Copy link
Contributor

@gkoumout gkoumout left a comment

Choose a reason for hiding this comment

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

Looks good. I left some minor comments/recommendations, but did not find something critical. It's ok to me to be merged with the current version.

@@ -236,7 +236,7 @@ In this section, we specify the substores that are part of the Interoperability
| `MIN_CHAIN_NAME_LENGTH` | uint32 | 1 | The minimum length of a string specifying the name of a chain. |
| `MAX_CHAIN_NAME_LENGTH` | uint32 | 32 | The maximum length of a string specifying the name of a chain. |

We further use the utility function `getMainchainID()` defined in [LIP 0037][lip-0037#getMainchainID] to obtain the chain ID of the mainchain.
We further use the utility function `getMainchainID` defined in [LIP 0037][lip-0037#getMainchainID] to obtain the chain ID of the mainchain.

#### Empty Cross-chain Message
Copy link
Contributor

Choose a reason for hiding this comment

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

I just checked this by accident. I think description of empty ccm in the table should be improved since it does not fully follow the ccmSchema.

Copy link
Contributor

Choose a reason for hiding this comment

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

edited

proposals/lip-0045.md Show resolved Hide resolved
proposals/lip-0045.md Show resolved Hide resolved
proposals/lip-0045.md Show resolved Hide resolved
proposals/lip-0045.md Show resolved Hide resolved
proposals/lip-0045.md Show resolved Hide resolved
@ricott1 ricott1 requested a review from janhack February 17, 2023 17:03
Copy link
Contributor

@janhack janhack left a comment

Choose a reason for hiding this comment

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

Editorial approval

@janhack janhack merged commit bf6143b into main Feb 17, 2023
@janhack janhack deleted the fix-interop-genesis-assets branch February 17, 2023 17:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor Interoperability genesis asset schema
6 participants