Skip to content

Commit 96619a6

Browse files
committed
chore: run prettier
1 parent 29b0b17 commit 96619a6

File tree

19 files changed

+45
-49
lines changed

19 files changed

+45
-49
lines changed

cli/src/index.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2842,7 +2842,7 @@ async function upgradeSui<N extends Network, C extends SuiChains>(
28422842
// Helper function to perform complete package upgrade in a single PTB
28432843
async function performPackageUpgradeInPTB<
28442844
N extends Network,
2845-
C extends SuiChains
2845+
C extends SuiChains,
28462846
>(
28472847
ctx: ChainContext<N, C>,
28482848
packagePath: string,
@@ -4216,9 +4216,8 @@ async function missingConfigs(
42164216
missing.standardRelaying.push([toChain, desiredStandardRelaying]);
42174217
}
42184218
} else if (toIsSolana) {
4219-
const specialRelaying = await whTransceiver.isSpecialRelayingEnabled(
4220-
toChain
4221-
);
4219+
const specialRelaying =
4220+
await whTransceiver.isSpecialRelayingEnabled(toChain);
42224221
const desiredSpecialRelaying = !(
42234222
from.config.local?.transceivers.wormhole.executor ?? false
42244223
);

cli/src/signSendWait.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const signSendWaitEvmSpecialOwner = async <N extends Network>(
6262

6363
export const signSendWaitWithOverride = async <
6464
N extends Network,
65-
C extends Chain
65+
C extends Chain,
6666
>(
6767
chain: ChainContext<N, C>,
6868
xfer: AsyncGenerator<UnsignedTransaction<N, C>>,

evm/ts/src/multiTokenNtt.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -517,9 +517,8 @@ export class EvmMultiTokenNtt<N extends Network, C extends EvmChains>
517517
transceiverMessage: MultiTokenNtt.Message
518518
): Promise<MultiTokenNtt.InboundQueuedTransfer | null> {
519519
const digest = MultiTokenNtt.messageDigest(fromChain, transceiverMessage);
520-
const queuedTransfer = await this.multiTokenNtt.getInboundQueuedTransfer(
521-
digest
522-
);
520+
const queuedTransfer =
521+
await this.multiTokenNtt.getInboundQueuedTransfer(digest);
523522
if (queuedTransfer.txTimestamp > 0n) {
524523
const { sourceChainId, txTimestamp } = queuedTransfer;
525524
const duration = await this.getRateLimitDuration();

evm/ts/src/multiTokenNttWithExecutor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const multiTokenNttWithExecutorAddresses: Partial<
3636

3737
export class EvmMultiTokenNttWithExecutor<
3838
N extends Network,
39-
C extends EvmChains = EvmChains
39+
C extends EvmChains = EvmChains,
4040
> implements MultiTokenNttWithExecutor<N, C>
4141
{
4242
readonly chainId: bigint;

evm/ts/src/ntt.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -291,17 +291,17 @@ export class EvmNtt<N extends Network, C extends EvmChains>
291291

292292
async *setOwner(owner: AnyEvmAddress) {
293293
const canonicalOwner = new EvmAddress(owner).toString();
294-
const tx = await this.manager.transferOwnership.populateTransaction(
295-
canonicalOwner
296-
);
294+
const tx =
295+
await this.manager.transferOwnership.populateTransaction(canonicalOwner);
297296
yield this.createUnsignedTx(tx, "Ntt.setOwner");
298297
}
299298

300299
async *setPauser(pauser: AnyEvmAddress) {
301300
const canonicalPauser = new EvmAddress(pauser).toString();
302-
const tx = await this.manager.transferPauserCapability.populateTransaction(
303-
canonicalPauser
304-
);
301+
const tx =
302+
await this.manager.transferPauserCapability.populateTransaction(
303+
canonicalPauser
304+
);
305305
yield this.createUnsignedTx(tx, "Ntt.setPauser");
306306
}
307307

sdk/definitions/src/layouts/manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export type NttManagerMessage<P extends CustomizableBytes = undefined> =
1010
LayoutToType<ReturnType<typeof nttManagerMessageLayout<P>>>;
1111

1212
export const nttManagerMessageLayout = <
13-
const P extends CustomizableBytes = undefined
13+
const P extends CustomizableBytes = undefined,
1414
>(
1515
customPayload?: P
1616
) =>

sdk/definitions/src/layouts/prefix.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ export const prefixItem = (prefix: Prefix) =>
55
binary: "bytes",
66
custom: Uint8Array.from(prefix),
77
omit: true,
8-
} as const);
8+
}) as const;

sdk/definitions/src/layouts/transceiver.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ import { Prefix, prefixItem } from "./prefix.js";
99

1010
export type TransceiverMessage<
1111
MP extends CustomizableBytes = undefined,
12-
TP extends CustomizableBytes = undefined
12+
TP extends CustomizableBytes = undefined,
1313
> = LayoutToType<ReturnType<typeof transceiverMessageLayout<MP, TP>>>;
1414

1515
export const transceiverMessageLayout = <
1616
const MP extends CustomizableBytes = undefined,
17-
const TP extends CustomizableBytes = undefined
17+
const TP extends CustomizableBytes = undefined,
1818
>(
1919
prefix: Prefix,
2020
nttManagerPayload?: MP,

sdk/definitions/src/layouts/transceiverInstructions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
} from "@wormhole-foundation/sdk-base";
66

77
export const transceiverInstructionLayout = <
8-
const P extends CustomizableBytes = undefined
8+
const P extends CustomizableBytes = undefined,
99
>(
1010
customPayload?: P
1111
) =>

sdk/definitions/src/layouts/wormhole.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import type {
55
import { transceiverMessageLayout } from "./transceiver.js";
66

77
export type WormholeTransceiverMessage<
8-
MP extends CustomizableBytes = undefined
8+
MP extends CustomizableBytes = undefined,
99
> = LayoutToType<ReturnType<typeof wormholeTransceiverMessageLayout<MP>>>;
1010

1111
export const wormholeTransceiverMessageLayout = <
12-
MP extends CustomizableBytes = undefined
12+
MP extends CustomizableBytes = undefined,
1313
>(
1414
nttManagerPayload?: MP
1515
) =>

0 commit comments

Comments
 (0)