Skip to content

Commit

Permalink
fix asset location in router api
Browse files Browse the repository at this point in the history
  • Loading branch information
nohaapav committed Nov 27, 2024
1 parent e12b84b commit e8fe824
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/sdk/src/api/Router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export class Router {
isSufficient: t.isSufficient,
existentialDeposit: t.existentialDeposit,
meta: t.meta,
location: t.location,
isWhiteListed: t.isWhiteListed,
} as Asset;
})
Expand Down
5 changes: 5 additions & 0 deletions packages/sdk/test/api/router.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ describe('Router with mocked XYK pool service', () => {
type: 'Token',
isSufficient: true,
existentialDeposit: '1000',
location: undefined,
meta: undefined,
isWhiteListed: undefined,
},
Expand All @@ -70,6 +71,7 @@ describe('Router with mocked XYK pool service', () => {
type: 'Token',
isSufficient: true,
existentialDeposit: '1000',
location: undefined,
meta: undefined,
isWhiteListed: undefined,
},
Expand All @@ -82,6 +84,7 @@ describe('Router with mocked XYK pool service', () => {
type: 'Token',
isSufficient: true,
existentialDeposit: '1000',
location: undefined,
meta: undefined,
isWhiteListed: undefined,
},
Expand All @@ -102,6 +105,7 @@ describe('Router with mocked XYK pool service', () => {
type: 'Token',
isSufficient: true,
existentialDeposit: '1000',
location: undefined,
meta: undefined,
isWhiteListed: undefined,
},
Expand All @@ -114,6 +118,7 @@ describe('Router with mocked XYK pool service', () => {
type: 'Token',
isSufficient: true,
existentialDeposit: '1000',
location: undefined,
meta: undefined,
isWhiteListed: undefined,
},
Expand Down

0 comments on commit e8fe824

Please sign in to comment.