diff --git a/.changeset/many-donuts-burn.md b/.changeset/many-donuts-burn.md new file mode 100644 index 00000000..4d81d25e --- /dev/null +++ b/.changeset/many-donuts-burn.md @@ -0,0 +1,5 @@ +--- +'@moonbeam-network/xcm-utils': patch +--- + +Disabled Polkadot.js API init warnings diff --git a/packages/utils/src/polkadot/polkadot.api.ts b/packages/utils/src/polkadot/polkadot.api.ts index 0fad6a47..10a3894e 100644 --- a/packages/utils/src/polkadot/polkadot.api.ts +++ b/packages/utils/src/polkadot/polkadot.api.ts @@ -18,6 +18,7 @@ export async function getPolkadotApi(ws: string): Promise { const promise = cache.get(ws) || ApiPromise.create({ + noInitWarn: true, provider: new WsProvider(ws), typesBundle, });