Skip to content

Commit

Permalink
more fixes discovered with integration
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaurello committed Nov 13, 2024
1 parent 9a44689 commit 5bd5d44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/builder/src/contract/contracts/Xtokens/Xtokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function Xtokens() {
fee.address
? formatAssetIdToERC20(fee.address)
: fee.getAssetId(),
fee,
fee.amount,
],
],
1, // index of the fee asset
Expand Down
2 changes: 1 addition & 1 deletion packages/config/src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,7 @@ export const moonbeam = new EvmParachain({
}),
ChainAsset.fromAsset(wifd, {
address: '0xffffffff2e1d1ac9ea1686255befe995b31abc96',
decimals: 18,
decimals: 10,
ids: {
id: '61295607754960722617854661686514597014',
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/src/getTransferData/getSourceData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export async function getSourceData({
sourceAddress,
});

const existentialDeposit = await getExistentialDeposit(destination);
const existentialDeposit = await getExistentialDeposit(source);
const min = await getAssetMin({
asset,
builder: route.source.min,
Expand Down

0 comments on commit 5bd5d44

Please sign in to comment.