Make sure you write down the subnet id or export it to a env variable $SUBNET_ID.
Step 2: Update the config.toml files
We now need to add the new subnet configuration to all of the following configuration files:
~/.ipc/validator1/config.toml
~/.ipc/validator2/config.toml
~/.ipc/validator3/config.toml
~/.ipc/validator4/config.toml
~/.ipc/validator5/config.toml
~/.ipc/user1/config.toml
~/.ipc/user2/config.toml
~/.ipc/config.toml
Notice that this time we are changing the entry for Subnet B. The config files already contain the corresponding entry, you only have to replace /b4/t410ftkmrmongfxyrefwgpyz524taorvrijfwfzrfwgy with the new subnet id.
Similar to Spin up the subnet and deploy the validators, we recommend that you use the helper script to deploy the validator containers for the second subnet. This is because all the ports change, and this can be tricky to do manually.