This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update interoperability initGenesisState (#7775)
### What was the problem? This PR resolves #7597 ### How was it solved? - Move implementation to baseInteroperabilityModule `initGenesisState` - Fixed weight validation [here](https://github.com/LiskHQ/lisk-sdk/compare/feature/7211-interop-module-updates...7597-update_init_genesis_state?expand=1#diff-d8da4c92b1298f134eb29e8ca5f938961dda3e964fa2d9a74898772ae6c649e2R154-R157) from https://github.com/LiskHQ/lisk-sdk/pull/7775/files#diff-c25daf805f6c8886ad67e53a338832433185d7639269e1e331af89ae07172e2fL637-L640 - Fix if condition for chain data [here](https://github.com/LiskHQ/lisk-sdk/pull/7775/files#diff-d8da4c92b1298f134eb29e8ca5f938961dda3e964fa2d9a74898772ae6c649e2R173-R197) from https://github.com/LiskHQ/lisk-sdk/pull/7775/files#diff-c25daf805f6c8886ad67e53a338832433185d7639269e1e331af89ae07172e2fL656-L681 - Update to use `context.chainID`, `getMainchainID` `getMainchainTokenID` - Fix terminated state validation [here](https://github.com/LiskHQ/lisk-sdk/pull/7775/files#diff-d8da4c92b1298f134eb29e8ca5f938961dda3e964fa2d9a74898772ae6c649e2R276-R304) ### How was it tested? - Moved and updated unit tests to expect error message
- Loading branch information
Showing
15 changed files
with
1,318 additions
and
1,249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.