Skip to content

Commit

Permalink
chore: check on deps for plugins and toolboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-chillios committed Feb 25, 2025
1 parent 649489e commit e2d9746
Show file tree
Hide file tree
Showing 18 changed files with 91 additions and 4,485 deletions.
68 changes: 6 additions & 62 deletions bun.lock

Large diffs are not rendered by default.

1,856 changes: 0 additions & 1,856 deletions packages/core/CHANGELOG.md

This file was deleted.

1 change: 0 additions & 1 deletion packages/plugins/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"author": "swapkit-oss",
"dependencies": {
"@chainflip/sdk": "1.7.0",
"@polkadot/keyring": "13.4.3",
"@polkadot/util": "13.4.3",
"@swapkit/helpers": "workspace:*",
Expand Down
5 changes: 3 additions & 2 deletions packages/plugins/src/chainflip/broker.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { decodeAddress } from "@polkadot/keyring";
import { isHex, u8aToHex } from "@polkadot/util";
import { AssetValue, Chain, SwapKitError, wrapWithThrow } from "@swapkit/helpers";
import { chainflipGateway } from "@swapkit/helpers/contracts";
import type { ETHToolbox } from "@swapkit/toolboxes/evm";
import type { ChainflipToolbox } from "@swapkit/toolboxes/substrate";

Expand Down Expand Up @@ -86,7 +85,7 @@ const withdrawFee =

const fundStateChainAccount =
(chainflipToolbox: Awaited<ReturnType<typeof ChainflipToolbox>>) =>
({
async ({
evmToolbox,
stateChainAccount,
assetValue,
Expand All @@ -95,6 +94,8 @@ const fundStateChainAccount =
stateChainAccount: string;
assetValue: AssetValue;
}) => {
const { chainflipGateway } = await import("@swapkit/helpers/contracts");

const flipAssetValue = AssetValue.from({ asset: "ETH.FLIP" });

if (!assetValue.eqAsset(flipAssetValue)) {
Expand Down
Loading

0 comments on commit e2d9746

Please sign in to comment.