Before we get into the changes, I'd like to announce our plan for the next upcoming major Subnet release (v1.0.0). The timing should be around the same as XDPoSv2 switch. What is coming up in the next version and why is it major?
- XDC-Zero deployment integration (Cross-chain framework)
- Addition of Reverse side features (subnet > mainnet transfers)
- Integration with XDCFoundation block explorer
- Catchup Subnet-node code base with main chain including XDPoS2.0 auditing improvements
- Documentation revamp with focus on first-time user experience
Change notes
Deployment Generator v0.2.2 > v0.3.1
https://github.com/XinFinOrg/XinFin-Node/releases
- Use testnet by default
- Remove admin api by default
- Added PUBLIC_IP optional config in deployment-generator
Frontend v0.1.8 > v0.1.9
https://github.com/XinFinOrg/subnet-stats-service/releases
- Allow configurable RPC in frontend service VITE_SUBNET_RPC which will use PUBLIC_IP. This makes it possible to use management feature from outside private network.
- Change VITE_SUBNET_URL to use PUBLIC_IP if provided, so accessing from local browser can reach backend service
- UI cleanup - typos, better wording, confirmation display
Subnet v0.2.1 > v0.2.2
https://github.com/XinFinOrg/XDC-Subnet/releases
- Bump golang version to 1.21
- fix-CVE-2023-40591
How to check out Subnet v0.3.1
Go to the deployment documentation page and follow the steps, new version is used by default.
https://xinfinorg.github.io/xdc-subnet-docs/deployment/launch_subnet/
How to upgrade existing Subnets
In docker-compose.yml, change bootnode and subnet version to
xinfinorg/xdcsubnets:v0.2.2
then (refer commands.txt)
docker compose --env-file docker-compose.env --profile machine1 down
docker compose --env-file docker-compose.env --profile machine1 up -d
In common.env add
VITE_SUBNET_RPC=http://subnet_node_ip:8545
In docker-compose.yml, change frontend version to
xinfinorg/subnet-frontend:v0.1.9
then
docker compose --env-file docker-compose.env --profile services down frontend
docker compose --env-file docker-compose.env --profile services up -d frontend
Discussion (0)