diff --git a/.changeset/heavy-hairs-buy.md b/.changeset/heavy-hairs-buy.md new file mode 100644 index 00000000..c7efad48 --- /dev/null +++ b/.changeset/heavy-hairs-buy.md @@ -0,0 +1,6 @@ +--- +'@moonbeam-network/xcm-config': patch +'@moonbeam-network/xcm-sdk': patch +--- + +Rename Peaq to peaq diff --git a/packages/config/src/chains.ts b/packages/config/src/chains.ts index 7cd1f5d9..8888fbdb 100644 --- a/packages/config/src/chains.ts +++ b/packages/config/src/chains.ts @@ -1272,7 +1272,7 @@ export const peaqAlphanet = new Parachain({ '0x2dfcd5c560f6db1667cbc2bc3791dfd337f88f400af6de39b1b8638ee7af6ed4', isTestChain: true, key: 'peaq-Alphanet', - name: 'Peaq Alphanet', + name: 'peaq Alphanet', parachainId: 3013, ss58Format: 42, ws: 'wss://moonbeam.peaq.network', @@ -1327,7 +1327,7 @@ export const peaqChain = new Parachain({ '0xd2a5d385932d1f650dae03ef8e2748983779ee342c614f80854d32b8cd8fa48c', isTestChain: false, key: 'peaq', - name: 'Peaq', + name: 'peaq', parachainId: 3338, ss58Format: 42, ws: 'wss://peaq.api.onfinality.io/public-ws', @@ -1364,7 +1364,7 @@ export const peaqEvmAlphanet = new EvmParachain({ isEvmSigner: true, isTestChain: true, key: 'peaq-evm-Alphanet', - name: 'Peaq EVM Alphanet', + name: 'peaq EVM Alphanet', nativeCurrency: { decimals: 18, name: agng.originSymbol, @@ -1430,7 +1430,7 @@ export const peaqEvm = new EvmParachain({ isEvmSigner: true, isTestChain: false, key: 'peaq-evm', - name: 'Peaq EVM', + name: 'peaq EVM', nativeCurrency: { decimals: 18, name: peaq.originSymbol, diff --git a/packages/sdk/tests/acceptance/__snapshots__/sdk.test.ts.snap b/packages/sdk/tests/acceptance/__snapshots__/sdk.test.ts.snap index 36e98d0c..598e0db9 100644 --- a/packages/sdk/tests/acceptance/__snapshots__/sdk.test.ts.snap +++ b/packages/sdk/tests/acceptance/__snapshots__/sdk.test.ts.snap @@ -200,6 +200,13 @@ exports[`sdk getParachainBalances should get expected balances for HydraDX for s exports[`sdk getParachainBalances should get expected balances for Moonbase Alpha 1`] = ` [ + e { + "amount": 0n, + "decimals": 18, + "key": "agng", + "originSymbol": "AGNG", + "symbol": "AGNG", + }, e { "amount": 0n, "decimals": 12, @@ -322,6 +329,13 @@ exports[`sdk getParachainBalances should get expected balances for Moonbase Beta exports[`sdk getParachainBalances should get expected balances for Moonbeam 1`] = ` [ + e { + "amount": 0n, + "decimals": 18, + "key": "peaq", + "originSymbol": "PEAQ", + "symbol": "PEAQ", + }, e { "amount": 0n, "decimals": 12, @@ -591,7 +605,7 @@ exports[`sdk getParachainBalances should get expected balances for Moonbeam 1`] ] `; -exports[`sdk getParachainBalances should get expected balances for Peaq 1`] = ` +exports[`sdk getParachainBalances should get expected balances for peaq 1`] = ` [ e { "amount": 0n, @@ -635,10 +649,17 @@ exports[`sdk getParachainBalances should get expected balances for Peaq 1`] = ` "originSymbol": "GLMR", "symbol": "GLMR", }, + e { + "amount": 0n, + "decimals": 18, + "key": "peaq", + "originSymbol": "PEAQ", + "symbol": "PEAQ", + }, ] `; -exports[`sdk getParachainBalances should get expected balances for Peaq EVM 1`] = ` +exports[`sdk getParachainBalances should get expected balances for peaq EVM 1`] = ` [ e { "amount": 0n, @@ -685,7 +706,7 @@ exports[`sdk getParachainBalances should get expected balances for Peaq EVM 1`] ] `; -exports[`sdk getParachainBalances should get expected balances for Peaq EVM Alphanet 1`] = ` +exports[`sdk getParachainBalances should get expected balances for peaq EVM Alphanet 1`] = ` [ e { "amount": 330000000000000000n,