-
Notifications
You must be signed in to change notification settings - Fork 3
Chain migration
We've migrated DIA lasernet from Optimism to Arbitrum. This guide provides step-by-step instructions for data feeders to transition their DIA Lasernet node to the new DIA testnet.
- Latest DIA Docker Image: Use the most recent image version. Check the latest tags here.
- DIA Tokens: Verify that you have DIA tokens in your wallet on the new testnet. You can obtain tokens via the DIA Faucet or by contacting the team.
-
Set the DEPLOYED_CONTRACT to an Empty String:
In your deployment configuration (or.envfile), update the variable as follows:
DEPLOYED_CONTRACT="" -
Set the CHAIN_ID to 100640 (new testnet id):
CHAIN_ID="100640" -
Deploy the Container: When deployed with an empty
DEPLOYED_CONTRACT, the logs will display a message like:
time="2024-11-25T11:30:08Z" level=info msg="Contract pending deploy: 0xxxxxxxxxxxxxxxxxxxxxxxxxx."
-
Stop the Running Container: Stop the container using your preferred method (e.g., docker rm -f <container_name>).
-
Update Your Configuration File: Open your .env file and update the DEPLOYED_CONTRACT variable with the copied address:
DEPLOYED_CONTRACT=0xxxxxxxxxxxxxxxxxxxxxxxxxx -
Redeploy the Container: Bring up the container again with the updated configuration (e.g., using docker-compose up -d).
-
Verify the Deployment: Check the container logs to ensure everything is running correctly:
docker-compose logs -f