Releases: swanchain/go-computing-provider
Mainnet-resource-multinode
This release(v1.1.2) focuses on improving stability and functionality, particularly for multi-node FCP deployments in Kubernetes environments. It resolves critical issues related to task creation failures and incorrect status updates while introducing a new /zk_task
API. For FCP running a multi-node Kubenates cluster, upgrading is strongly recommended to ensure optimal performance and reliability.
🚀 What's New & Fixed
- Fixed: Issue where FCP failed to create a sampling task in Kubernetes with multi-node environments (#216)
- Fixed: Issue where rejected task statuses were not correctly updated (#217)
- Added: New
/zk_task
API for ECP running on Kubernetes (#218) - Updated: Version bumped to
v1.1.2
(#219)
🔧 How to Upgrade
✅ Replace the computing-provider
binary with the v1.1.2.
📌 Full Changelog: v1.1.1...v1.1.2
Mainnet-resource-fix
This is a MANDATORY Upgrade for all Computing Providers (CPs). All CPs must complete this mandatory upgrade by 2:00 AM (UTC+0) on February 12, 2025. Failure to upgrade before this deadline will result in the inability to receive UBI tasks, directly affecting your UBI earnings.
We strongly urge all CPs to proceed with the upgrade as soon as possible.
Upgrade Details
-
Upgrade computing provider to v1.1.1
-
Upgrade
resource-exporter
to v12.0.0- Added collection of
product_uuid
andgpu_uuid
information. - Introduced a resource information verification mechanism to prevent CPs from tampering with real resource data(#208)
- Added collection of
-
FCP and ECP Enhancements
- Support for deploying applications via deployment file string encoding format (#208)
-
Task Deployment Flexibility
- ECP and FCP now support deploying a single task across multiple different types of GPUs(#208)
-
Configuration File Update
- Update
[HUB].OrchestratorPK
to:
0xd875bD44158208fD0FDD46729Aab6709f62C7821
(#209)
- Update
-
New Task Status Display
How to Upgrade:
Please refer to the upgrade steps provided here.
Ensure your systems are updated promptly to avoid any disruptions in your UBI task flow and earnings.
Mainnet-resource
This is a MANDATORY Upgrade for all Computing Providers (CPs). All CPs must complete this mandatory upgrade by 2:00 AM (UTC+0) on February 12, 2025. Failure to upgrade before this deadline will result in the inability to receive UBI tasks, directly affecting your UBI earnings.
We strongly urge all CPs to proceed with the upgrade as soon as possible.
Upgrade Details
-
Upgrade computing provider to v1.1.0
-
Upgrade
resource-exporter
to v12.0.0- Added collection of
product_uuid
andgpu_uuid
information. - Introduced a resource information verification mechanism to prevent CPs from tampering with real resource data(#208)
- Added collection of
-
FCP and ECP Enhancements
- Support for deploying applications via deployment file string encoding format (#208)
-
Task Deployment Flexibility
- ECP and FCP now support deploying a single task across multiple different types of GPUs(#208)
-
Configuration File Update
- Update
[HUB].OrchestratorPK
to:
0xd875bD44158208fD0FDD46729Aab6709f62C7821
(#209)
- Update
-
New Task Status Display
- Tasks with the
Rejected
status will now be visible in thecomputing-provider list
(#207)
- Tasks with the
How to Upgrade:
Please refer to the upgrade steps provided here.
Ensure your systems are updated promptly to avoid any disruptions in your UBI task flow and earnings.
Mainnet-tasks
This is the optional update for the Swan Mainnet. This version includes task-related optimization updates, which makes it easier to view the status of all tasks and accurately calculate the success rate. The log of the application running is retained to review the status of the application
We highly encourage all users to upgrade to v1.0.2 for
Improvement & bugfix
- Fix the status of
mining task
in the task list (#201) - Show the
rejected
tasks in the task list (#201) - Retain the container log in the
$CP_REPO/logs
, and cp can control the cleanup period by configuring it at$CP_REPO/config.toml
: (#201)
[API]
ClearLogDuration = 24 # Delete logs at intervals after the job is finished, the unit is hours
- Update
resource-exporter
to v11.3.2 How to Upgrade (#201)
Full Changelog: v1.0.1...v1.0.2
Mainnet-contractOwner
We are excited to release the first update following the TGE! This version introduces support for contract addresses as CP's owner, improving flexibility and compatibility. It also addresses key community feedback, enhancing UBI task success rates and optimizing high-end GPU utilization for better performance.
We highly encourage all users to upgrade to v1.0.1 for the latest features, improvements, and optimized performance.
Improvement && bugfix
- Support contract address as CP's owner (#195)
- Fix the timeout issue when receiving UBI tasks(#194)
- Sharding rental for high-end GPU (such as H100) that support NVlink technology(#194)
- Fix the nil error when generating the price configuration(#191)
- Upgrade
resource-exporter
version tov11.3.1
How to Upgrade (#197)
Full Changelog: v1.0.0...v1.0.1
Mainnet-TGE
We are excited to announce the release of TGE Version 1.0.0, a critical update that introduces new features and improvements to enhance the security and functionality of the platform.
Upgrade Deadline
To maintain compatibility and ensure continued access to all functionalities, all CPs must upgrade to Version 1.0.0 by the specified deadline:
December 16, 2024, at 10:00 AM EST
Note: Failure to upgrade will result in restricted access to the platform and potential compliance issues with the updated protocol.
Key Updates
-
Slash Mechanism Activation
The slash mechanism is now enabled, providing a robust framework for penalizing misbehaviour and ensuring the integrity of the ecosystem. The details can be found here -
Mandatory Full Staking
Full staking is required; CPs must fully deposit $SWAN to qualify for the UBI reward. The details can be found here
Improvements
-
Improve the GPU allocates strategy by specifying indices(#181)
-
Allow FCP to withdraw the collaterals from the
Escrow balance
.computing-provider collateral withdraw-request --fcp --owner <YOUR_OWNER_ADDRESS> <AMOUNT> computing-provider collateral withdraw-confirm --fcp --owner <YOUR_OWNER_ADDRESS> <AMOUNT>
-
ECP can deploy inference service from the docker images and provide the logs; details are here (#181)
-
Add
ubi-0
cmd to view and withdrawubi-0
collaterals after TGE(#181)- Check the collateral details of
SWANU
:
computing-provider ubi-0 info
- Withdraw the collateral for the
SWANU
# For FCP computing-provider ubi-0 withdraw --fcp --owner <YOUR_OWNER_ADDRESS> <AMOUNT> # For ECP computing-provider ubi-0 withdraw --ecp --owner <YOUR_OWNER_ADDRESS> <AMOUNT>
- Check the collateral details of
-
Update the
orchestratorPK
(#185)- CPs must update it in the
config.toml
[HUB] OrchestratorPk = "0xE2F887D4Ed3E4E5179C2f30c6Fdb2344cCbB21b6"
- CPs must update it in the
Upgrade Documentation
For a detailed guide on how to upgrade, please refer to the upgrade documentation: here
Swan Mainnet Network Information and Related Smart Contract Addresses
As part of this update, all relevant smart contract addresses across the network have been modified.
Item | Details |
---|---|
Currency Symbol | ETH |
Chain ID | 254 |
RPC URL | https://mainnet-rpc.swanchain.org |
Swan Token Symbol | SWAN |
SwanETH Bridge | https://bridge.swanchain.io |
Block Explorer URL | https://mainnet-explorer.swanchain.io |
Swan Provider Dashboard | https://provider.swanchan.io |
SWAN Token Contract address | 0xBb4eC1b56cB624863298740Fd264ef2f910d5564 |
Collateral Contract for FCP | 0x1BE0F0C000ECDd6b8544b20694A3d118625cE005 |
CP Account Register Contract | 0xbef1ec33e5Ac3a491fFeE1600e0b00eac97cb138 |
ZK Task Register Contract | 0x4Cd9b2450c3e412a1F0F0aE78C79271337241E31 |
ECP Collateral Contract | 0x557f306f917009cf83c32b8b32a79202e79948e5 |
Orchestrator Public Key[Updated] | 0xE2F887D4Ed3E4E5179C2f30c6Fdb2344cCbB21b6 |
ZK engine Publicc Key | 0xB5aeb540B4895cd024c1625E146684940A849ED9 |
Sequencer Contract | 0xE0a88F1fA56D8a8D73E9bb9Fc03506439cb386Bd |
Gas to Sequencer | Dynamic Pricing Strategy |
Sequencer Blob Period | 24 Hours |
We appreciate your continued support and partnership in building a secure and efficient ecosystem. If you have any questions or encounter issues during the upgrade process, please contact us promptly.
Full Changelog: v0.7.1...v1.0.0
Mainnet-ECP-mining
This is the second version for FCP and ECP to join the Swan Mainnet Computing Provider UBI-0. This update includes many new mechanisms and practical features.
Improvements & Bug Fixes
- update
taskTypes
(addmining
andinference
, updatefil-c2
) of CP (#164) - add the task management for the ECP's mining service, check it by
computing-provider task list --type ecp
(#165) - fix update contract address in the ubi task list (#167)
- add sequencer's Dynamic Pricing Strategy (#168)
- add
pricing="true"
in theconfig.toml
for cp to set the resource price(#167) - fix the wrong label of
cpu type
in the cluster of FCP(#167)
Swan Mainnet Network Information
Item | Details |
---|---|
Currency Symbol | ETH |
Chain ID | 254 |
RPC URL | https://mainnet-rpc.swanchain.org/ |
Swan computing Units Symbol | SWANU |
SwanETH Bridge | https://bridge.swanchain.io |
Block Explorer URL | https://mainnet-explorer.swanchain.io |
Swan Provider Dashboard | https://orchestrator.swanchain.io/provider-status |
SWANU contract address | 0x39cBBeaF88a91404618d45a16e0977Adab4d1Af1 |
Collateral Contract for FCP | 0x643A820060c78D9122081aafF0C039b070937558 |
CP Account Register Contract | 0xbef1ec33e5Ac3a491fFeE1600e0b00eac97cb138 |
ZK Task Register Contract | 0x4Cd9b2450c3e412a1F0F0aE78C79271337241E31 |
ECP Collateral Contract | 0x7A099B665e760BCCF3Aa0cBbb66C8da47F13C03d |
ZK engine Publick Key | 0xB5aeb540B4895cd024c1625E146684940A849ED9 |
Sequencer Contract | 0xE0a88F1fA56D8a8D73E9bb9Fc03506439cb386Bd |
Gas to Sequencer | Dynamic Pricing Strategy |
Sequencer Blob Period | 24 Hours |
Full Changelog: v0.7.0...v0.7.1
Mainnet-ubi-0
This version can be used for both FCP
and ECP
to join the Swan Mainnet Computing Provider UBI-0. The UBI-0 marks a new phase for Swan CP, with the UBI mechanism entering its official activation stage. It aims to incentivize CPs to provide stable services while ensuring consistent returns for CPs. This update includes many new mechanisms and practical features.
Improvements & Bug Fixes
-
Support to use SWANU as a collateral and payment token
-
Updated CP staking mechanism: The staking requirement for each CP is calculated based on the type and number of GPUs. For the detailed calculation, see here.
-
ECP and FCP will receive UBI distribution across the network based on their daily resource contributions and task validation status. The zk tasks of ECP will not have separate rewards; instead, earnings will be distributed directly to the beneficiary address. For detailed accounting methods, see here.
-
FCP now supports adding IP whitelists for applications deployed by users(#158)
-
Update FCP and ECP Contract, see
computing-provider contract default
(#158) -
ECP supports the deployment of some mining applications(taskType is
Mining
), with the deployment portal soon to be available on the Swan Console. -
The ETH cost for a single zk task on ECP has been reduced to 1/20th of the original value, now set at 0.000005 ETH per task.
-
New: FCP provides a
nodePort
service, allowing users to log in via SSH (How to configure) (#145) -
Add
pricing
in the config, allowing CP to customize the order strategy (#158) -
resource-exporter upgrade to
v11.3.0
(How to Upgrade)
Swan Mainnet Network Information
Item | Details |
---|---|
Currency Symbol | ETH |
Chain ID | 254 |
RPC URL | https://mainnet-rpc01.swanchain.io, https://swanscan.io |
Swan computing Units Symbol | SWANU |
SwanETH Bridge | https://bridge.swanchain.io |
Block Explorer URL | https://mainnet-explorer.swanchain.io |
Swan Provider Dashboard | https://orchestrator.swanchain.io/provider-status |
Swan Computing Units Token | 0x39cBBeaF88a91404618d45a16e0977Adab4d1Af1 |
Collateral Contract for FCP | 0x643A820060c78D9122081aafF0C039b070937558 |
CP Account Register Contract | 0xbef1ec33e5Ac3a491fFeE1600e0b00eac97cb138 |
ZK Task Register Contract | 0x4Cd9b2450c3e412a1F0F0aE78C79271337241E31 |
ECP Collateral Contract | 0x7A099B665e760BCCF3Aa0cBbb66C8da47F13C03d |
ZK engine Publick Key | 0xB5aeb540B4895cd024c1625E146684940A849ED9 |
Sequencer Contract | 0xE0a88F1fA56D8a8D73E9bb9Fc03506439cb386Bd |
Gas to Sequencer | 0.000005 ETH/task |
Sequencer Blob Period | 24 Hours |
Full Changelog: v0.6.5...v0.7.0
Mainnet-pricing
This is the Sixth Version of the Computing provider on Swan Mainnet, it can be used for FCP
and ECP
to join the Swan Mainnet
Computing Provider Campaign. In this version, FCP can provide nodePort service and support autonomous pricing of resources. Please all CPs upgrade to this version.
Improvements && bugfix
- new: FCP provides
nodePort
service, user can login by SSH(How to config) (#145)- FCP supports Kubernetes clusters to add resource isolation
- FCP supports Kubernetes clusters to add network isolation policy
- FCP supports autonomous pricing of resources(#141)
- improvement: optimize the validation of parameter format and type to prevent errors in fund operation (#146)
- improvement: optimized job-clearing mechanism, compatible with the use of space uuid in earlier versions
- fix deploy the application failed due to wrong healthy-check logic(#142)
- fix sequencer submission failure due to token expiration (#136)
- fix the database locked and update the cron tasks of deleting jobs (#139)
Swan Mainnet Network Information
Item | Details |
---|---|
Currency Symbol | ETH |
Chain ID | 254 |
RPC URL | https://mainnet-rpc01.swanchain.io, https://swanscan.io |
Swan Credits Token Symbol | SWANC |
SwanETH Bridge | https://bridge.swanchain.io |
SWANC Claim Page | https://faucet.swanchain.io |
Block Explorer URL | https://mainnet-explorer.swanchain.io |
Swan Provider Dashboard | https://orchestrator.swanchain.io/provider-status |
Swan Credits Token | 0xAF90ac6428775E1Be06BAFA932c2d80119a7bd02 |
Collateral Contract for FCP | 0x48966A3eb8C1b584Ac9E7767bC9607e235245C81 |
CP Account Register Contract | 0xbef1ec33e5Ac3a491fFeE1600e0b00eac97cb138 |
ZK Task Register Contract | 0x4Cd9b2450c3e412a1F0F0aE78C79271337241E31 |
ECP Collateral Contract | 0x0b84cc9CcE1459c85337b511872528cE947C3962 |
ZK engine Publick Key | 0xB5aeb540B4895cd024c1625E146684940A849ED9 |
ZK-engine reward address | 0xC2EF272e14a7A222eA909bBB6C5ffdb9B2EFAC02 |
Sequencer Contract | 0xE0a88F1fA56D8a8D73E9bb9Fc03506439cb386Bd |
Collateral for ECP | 100 SWANC/Period Tasks |
Gas to Sequencer | 0.00001 ETH/task |
Sequencer Blob Period | 24 Hours |
Full Changelog: v0.6.4...v0.6.5
Mainnet-fix-sdk
This is the Fifth Version of the Computing provider on Swan Mainnet, it can be used for FCP
and ECP
to join the Swan Mainnet
Computing Provider Campaign. It fixes some FCP issues. Please all CPs upgrade to this version.
Note
- If your FCP can not get the AI task or the task will be terminated automatically after some hours, please upgrade to this version ASAP
- If your CP can not collect the GPU device after some time, please upgrade to this version ASAP
Improvements && bugfix
- fix cron task for update task status by @sonic-chain in #128
- fix cron task will delete valid job by @sonic-chain in #130
- new signature for sequencer token using worker address and block number by @sonic-chain in #131
- set a reasonable balance threshold to refuse the zk task by @sonic-chain in #131
- support DCC task for security task by @sonic-chain in #132
- add more necessary logs for submitting zk task proof by @sonic-chain in #133
- fix can not collect the GPU device after some time by @sonic-chain in #132
- upgrade
resource-exporter
tov11.2.9
How to upgrade
Swan Mainnet Network Information
Item | Details |
---|---|
Currency Symbol | ETH |
Chain ID | 254 |
RPC URL | https://mainnet-rpc01.swanchain.io, https://swanscan.io |
Swan Credits Token Symbol | SWANC |
SwanETH Bridge | https://bridge.swanchain.io |
SWANC Claim Page | https://faucet.swanchain.io |
Block Explorer URL | https://mainnet-explorer.swanchain.io |
Swan Provider Dashboard | https://orchestrator.swanchain.io/provider-status |
Swan Credits Token | 0xAF90ac6428775E1Be06BAFA932c2d80119a7bd02 |
Collateral Contract for FCP | 0x48966A3eb8C1b584Ac9E7767bC9607e235245C81 |
CP Account Register Contract | 0xbef1ec33e5Ac3a491fFeE1600e0b00eac97cb138 |
ZK Task Register Contract | 0x4Cd9b2450c3e412a1F0F0aE78C79271337241E31 |
ECP Collateral Contract | 0x0b84cc9CcE1459c85337b511872528cE947C3962 |
ZK engine Publick Key | 0xB5aeb540B4895cd024c1625E146684940A849ED9 |
ZK-engine reward address | 0xC2EF272e14a7A222eA909bBB6C5ffdb9B2EFAC02 |
Sequencer Contract | 0xE0a88F1fA56D8a8D73E9bb9Fc03506439cb386Bd |
Collateral for ECP | 100 SWANC/Period Tasks |
Gas to Sequencer | 0.00001 ETH/task |
Sequencer Blob Period | 24 Hours |
Full Changelog: v0.6.3...v0.6.4