Skip to content

Commit

Permalink
Added todo message
Browse files Browse the repository at this point in the history
  • Loading branch information
ekenigs committed Aug 14, 2024
1 parent 601b196 commit 040f055
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/builder/src/wormhole/WormholeBuilder.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/no-use-before-define */
import { Wormhole } from '@wormhole-foundation/sdk-connect';
import { EvmParachain, Parachain } from '@moonbeam-network/xcm-types';
import { stringToU8a } from '@polkadot/util';
import { stringify, stringToU8a } from '@polkadot/util';
import { evmToAddress } from '@polkadot/util-crypto/address';
import {
WormholeConfigBuilder,
Expand Down Expand Up @@ -82,8 +82,9 @@ export function getPayload({
const isPeaqEvm =
destination.key === 'peaq-evm-Alphanet' || destination.key === 'peaq-evm';

// TODO: this is not working I will need to use API to create type
return stringToU8a(
JSON.stringify({
stringify({
destination: {
V3: {
parents: 1,
Expand Down

0 comments on commit 040f055

Please sign in to comment.