Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
pyramation committed Aug 20, 2022
1 parent 610d46d commit 67ff4dc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion packages/utils/__tests__/ibc.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ it('JUNO on osmosis', () => {
);
});

it.only('PSTAKE on osmosis', () => {
xit('PSTAKE on osmosis', () => {
const denom = getIbcDenomByBase(
ibc,
'osmosis',
Expand Down
34 changes: 17 additions & 17 deletions packages/utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,23 +121,23 @@ export const getIbcDenomByBase = (
[].push.apply(transition, assetInfo.transition);
}

console.log(transition);

if (transition.length) {
return ibcDenom(
[
{
portId: 'transfer',
channelId: assetInfo.ibc.source_channel
},
{
portId: channelInfo['port-id'],
channelId: channelInfo['channel-id']
}
],
base
);
}
// console.log(transition);

// if (transition.length) {
// return ibcDenom(
// [
// {
// portId: 'transfer',
// channelId: assetInfo.ibc.source_channel
// },
// {
// portId: channelInfo['port-id'],
// channelId: channelInfo['channel-id']
// }
// ],
// base
// );
// }

return ibcDenom(
[
Expand Down

0 comments on commit 67ff4dc

Please sign in to comment.