dist/chain/storage/get.js
function getChainDataById(storage, chainId) {
    if (storage[GET_CHAIN_METHOD]) {
        return storage[GET_CHAIN_METHOD](chainId);
    }
    return storage[chainId];
}
function getChainDataById(storage, chainId) {
    if (storage[GET_CHAIN_METHOD]) {
        return storage[GET_CHAIN_METHOD](chainId);
    }
    return storage[chainId];
}
Gets the chain data from storage by chain id
@param storage
@param chainId