lisk-sdk icon indicating copy to clipboard operation
lisk-sdk copied to clipboard

Add getMessageFeeTokenID method to BaseInteroperabilityMethod

Open ishantiw opened this issue 2 years ago • 0 comments

Description

Add getMessageFeeTokenID method to BaseInteroperabilityMethod

def getMessageFeeTokenID(chainID: ChainID) -> TokenID:
    # Check for direct channel
    if chainAccount(chainID) does not exist:
        chainID = CHAIN_ID_MAINCHAIN
    return channel(chainID).messageFeeTokenID

Acceptance Criteria

  • Should have all the relevant unit tests

Additional Information

  • Related LIP Update PR https://github.com/LiskHQ/lips/pull/148
  • Depends on https://github.com/LiskHQ/lisk-sdk/issues/7565

ishantiw avatar Sep 23 '22 08:09 ishantiw