Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
arobsn committed Jun 20, 2024
1 parent 5e3b2e9 commit 99868a5
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 8 deletions.
6 changes: 5 additions & 1 deletion packages/core/src/builder/pluginContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ import type {
OneOrMore,
TokenAmount
} from "@fleet-sdk/common";
import { NotAllowedTokenBurning, type OutputBuilder, type TransactionBuilder } from "..";
import {
NotAllowedTokenBurning,
type OutputBuilder,
type TransactionBuilder
} from "..";

export type FleetPluginContext = {
/**
Expand Down
8 changes: 7 additions & 1 deletion packages/core/src/models/collections/inputsCollection.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
import { type Amount, type Box, type BoxId, Collection, type OneOrMore } from "@fleet-sdk/common";
import {
type Amount,
type Box,
type BoxId,
Collection,
type OneOrMore
} from "@fleet-sdk/common";
import { isDefined } from "@fleet-sdk/common";
import { DuplicateInputError, NotFoundError } from "../../errors";
import { ErgoUnsignedInput } from "../ergoUnsignedInput";
Expand Down
6 changes: 5 additions & 1 deletion packages/core/src/models/ergoMessage.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { Network } from "@fleet-sdk/common";
import { hex } from "@fleet-sdk/crypto";
import { describe, expect, it, test } from "vitest";
import { ErgoMessage, type ErgoMessageOptions, MessageType } from "./ergoMessage";
import {
ErgoMessage,
type ErgoMessageOptions,
MessageType
} from "./ergoMessage";

const testVectors = [
{
Expand Down
6 changes: 5 additions & 1 deletion packages/core/src/models/ergoTree.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { ergoTreeHeaderFlags, type HexString, Network } from "@fleet-sdk/common";
import {
ergoTreeHeaderFlags,
type HexString,
Network
} from "@fleet-sdk/common";
import { hex } from "@fleet-sdk/crypto";
import { ErgoAddress } from "./ergoAddress";

Expand Down
6 changes: 5 additions & 1 deletion packages/mock-chain/src/party/mockChainParty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ import {
type TokenAmount,
utxoSum
} from "@fleet-sdk/common";
import { type Box, type ErgoAddress, SAFE_MIN_BOX_VALUE } from "@fleet-sdk/core";
import {
type Box,
type ErgoAddress,
SAFE_MIN_BOX_VALUE
} from "@fleet-sdk/core";
import { stringifyBalance } from "../balancePrinting";
import type { MockChain } from "../mockChain";
import { MockUTxOCollection } from "../mockUtxoCollection";
Expand Down
8 changes: 7 additions & 1 deletion packages/serializer/src/serializers/dataSerializer.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import { assert } from "@fleet-sdk/common";
import type { SigmaByteReader, SigmaByteWriter } from "../coders";
import type { SConstant } from "../sigmaConstant";
import { isColl, isTuple, type SCollType, type STupleType, type SType } from "../types";
import {
isColl,
isTuple,
type SCollType,
type STupleType,
type SType
} from "../types";
import { descriptors } from "../types/descriptors";

const GROUP_ELEMENT_LENGTH = 33;
Expand Down
7 changes: 6 additions & 1 deletion packages/wallet/src/prover/prover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ import {
some
} from "@fleet-sdk/common";
import { ErgoMessage, ErgoUnsignedTransaction } from "@fleet-sdk/core";
import { blake2b256, type ByteInput, ensureBytes, hex } from "@fleet-sdk/crypto";
import {
blake2b256,
type ByteInput,
ensureBytes,
hex
} from "@fleet-sdk/crypto";
import {
type MinimalUnsignedTransaction,
serializeBox,
Expand Down
6 changes: 5 additions & 1 deletion plugins/ageusd/src/ageUsdBank.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { percent } from "@fleet-sdk/common";
import { type Amount, type Box, RECOMMENDED_MIN_FEE_VALUE } from "@fleet-sdk/core";
import {
type Amount,
type Box,
RECOMMENDED_MIN_FEE_VALUE
} from "@fleet-sdk/core";
import { parse, SBool } from "@fleet-sdk/serializer";
import { describe, expect, it, test } from "vitest";
import { mockBankBox, mockOracleBox } from "./_tests/mocking";
Expand Down

0 comments on commit 99868a5

Please sign in to comment.