!shan
!shan
### Description Implement `syncBlocks` function of `LegacyChainHandler` 1. Get a list of connectedPeers from the network 2. Find peers with legacy info corresponding to `snapshotBlockID` (if it contains `legacy` property...
### Description - Implement `sync` method 1. Iterate through `brackets` and call `bracketInfo = getLegacyChainBracketInfo(bracket.snapshotBlockID)` 2. If `bracket.startHeight === bracketInfo.lastHeight` then skip to next bracket and call step 1 3....
### Description Add getMessageFeeTokenID method to BaseInteroperabilityMethod ```python def getMessageFeeTokenID(chainID: ChainID) -> TokenID: # Check for direct channel if chainAccount(chainID) does not exist: chainID = CHAIN_ID_MAINCHAIN return channel(chainID).messageFeeTokenID ``` ###...
### Description Update `error` method of BaseInteroperabilityMethod (mainchain/sidechain) module ```python def error(ccm: CCM, errorStatus: uint32) -> None: # Error codes from 0 to MAX_RESERVED_ERROR_STATUS (included) are reserved to the Interoperability...
### Description Update isLive function for mainchain/sidechain as per LIP. ```python def isLive(chainID: ChainID) -> bool: if chainID == ownChainAccount.chainID: return True # Processing on the mainchain if ownChainAccount.chainID ==...
### Description Create BaseInteroperabilityMethod extending BaseMethod class taking generics for Interoperability store - Move all the common methods to `BaseInteroperabilityMethod` and only keep methods in mainchain/sidechain specific to them. ###...
### Description The bounce function returns a `CCM` that errored during the `CCM` execution stages to the sending chain if the message fee is larger than a minimum return fee...
### Description The `createTerminatedOutboxAccount` function creates an entry in the terminated outbox substore. ```python def createTerminatedOutboxAccount( chainID: ChainID, outboxRoot: MerkleRoot, outboxSize: uint64, partnerChainInboxSize: uint64, ) -> None: terminatedOutbox = {...
### Description The `createTerminatedStateAccount` function creates an entry in the terminated state substore. ```python def createTerminatedStateAccount(chainID: ChainID, stateRoot: bytes = EMPTY_BYTES) -> None: if chainAccount(chainID) exists: chainAccount(chainID).status = CHAIN_STATUS_TERMINATED remove...
### Description Update mainchain/sidehchain registration commands based on recent updates. Wait for [LIP#148](https://github.com/LiskHQ/lips/pull/148) to get merged. ### Acceptance Criteria - Should have all changes reflected as per in LIP0043 after...