Skip to content

Commit 190dcbe

Browse files
authored
[FIX] - Passet hub chain id updated (#714)
* fix: chain Id updated * fix: chain id images
1 parent ae3d446 commit 190dcbe

File tree

15 files changed

+35
-35
lines changed

15 files changed

+35
-35
lines changed

.snippets/code/develop/smart-contracts/evm-toolkit/ethers-js/checkStorage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const interactWithStorageContract = async (
6666
const providerConfig = {
6767
name: 'asset-hub-smart-contracts',
6868
rpc: 'https://testnet-passet-hub-eth-rpc.polkadot.io',
69-
chainId: 420420421,
69+
chainId: 420420422,
7070
};
7171

7272
const mnemonic = 'INSERT_MNEMONIC';

.snippets/code/develop/smart-contracts/evm-toolkit/ethers-js/deploy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const deployContract = async (contractName, mnemonic, providerConfig) => {
8282

8383
const providerConfig = {
8484
rpc: 'https://testnet-passet-hub-eth-rpc.polkadot.io',
85-
chainId: 420420421,
85+
chainId: 420420422,
8686
name: 'polkadot-hub-testnet',
8787
};
8888

.snippets/code/develop/smart-contracts/evm-toolkit/ethers-js/fetchLastBlock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const createProvider = (rpcUrl, chainId, chainName) => {
1111

1212
const PROVIDER_RPC = {
1313
rpc: 'https://testnet-passet-hub-eth-rpc.polkadot.io',
14-
chainId: 420420421,
14+
chainId: 420420422,
1515
name: 'polkadot-hub-testnet',
1616
};
1717

.snippets/code/develop/smart-contracts/evm-toolkit/libraries/web3-js/fetchLastBlock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const createProvider = (rpcUrl) => {
77

88
const PROVIDER_RPC = {
99
rpc: 'https://testnet-passet-hub-eth-rpc.polkadot.io',
10-
chainId: 420420421,
10+
chainId: 420420422,
1111
name: 'polkadot-hub-testnet',
1212
};
1313

.snippets/code/develop/smart-contracts/libraries/viem/fetchLastBlock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const transport = http('https://testnet-passet-hub-eth-rpc.polkadot.io');
44

55
// Configure the Polkadot Hub chain
66
const polkadotHubTestnet = {
7-
id: 420420421,
7+
id: 420420422,
88
name: 'Polkadot Hub TestNet',
99
network: 'polkadot-hub-testnet',
1010
nativeCurrency: {

.snippets/code/develop/smart-contracts/libraries/wagmi/wagmi-testnet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { http, createConfig } from 'wagmi';
22

33
// Configure the Polkadot Hub chain
44
const assetHub = {
5-
id: 420420421,
5+
id: 420420422,
66
name: 'polkadot-hub-testnet',
77
network: 'polkadot-hub-testnet',
88
nativeCurrency: {

.snippets/code/tutorials/smart-contracts/launch-your-first-project/test-and-deploy-hardhat/local-deployment-output.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div id="termynal" data-termynal>
22
<span data-ty="input"><span class="file-path"></span>npx hardhat ignition deploy ./ignition/modules/Storage.js --network localNode</span>
3-
<span data-ty>✔ Confirm deploy to network localNode (420420421)? … yes</span>
3+
<span data-ty>✔ Confirm deploy to network localNode (420420422)? … yes</span>
44
<span data-ty></span>
55
<span data-ty>Hardhat Ignition 🚀</span>
66
<span data-ty></span>

.snippets/code/tutorials/smart-contracts/launch-your-first-project/test-and-deploy-hardhat/passet-deployment-output.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div id="termynal" data-termynal>
22
<span data-ty="input"><span class="file-path"></span>npx hardhat ignition deploy ./ignition/modules/Storage.js --network passetHub</span>
3-
<span data-ty>✔ Confirm deploy to network localNode (420420421)? … yes</span>
3+
<span data-ty>✔ Confirm deploy to network localNode (420420422)? … yes</span>
44
<span data-ty></span>
55
<span data-ty>Hardhat Ignition 🚀</span>
66
<span data-ty></span>

develop/smart-contracts/connect-to-polkadot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Developers can leverage smart contracts across diverse networks, from TestNets t
3333

3434
Chain ID
3535
```text
36-
420420421
36+
420420422
3737
```
3838

3939
---

develop/smart-contracts/libraries/ethers-js.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ To interact with Polkadot Hub, you must set up an Ethers.js provider. This provi
7878
```js
7979
const PROVIDER_RPC = {
8080
rpc: 'https://testnet-passet-hub-eth-rpc.polkadot.io',
81-
chainId: 420420421,
81+
chainId: 420420422,
8282
name: 'polkadot-hub-testnet'
8383
};
8484
```

0 commit comments

Comments
 (0)