From a9aa32afe6e2e7dd6f7510477e6f7783d071f835 Mon Sep 17 00:00:00 2001 From: prop-opentensor Date: Thu, 28 Aug 2025 21:31:07 +0200 Subject: [PATCH 1/2] upgrade instance type for docker builds --- .github/workflows/docker-localnet.yml | 2 +- .github/workflows/docker.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-localnet.yml b/.github/workflows/docker-localnet.yml index 96f3ca56a0..da9732f186 100644 --- a/.github/workflows/docker-localnet.yml +++ b/.github/workflows/docker-localnet.yml @@ -28,7 +28,7 @@ permissions: jobs: publish: - runs-on: [self-hosted, type-ccx33] + runs-on: [self-hosted, type-ccx53, type-ccx43, type-ccx33] steps: - name: Determine Docker tag and ref diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index f0cfd84853..a60f0f9d82 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -27,7 +27,7 @@ permissions: jobs: publish: - runs-on: [self-hosted, type-ccx33] + runs-on: [self-hosted, type-ccx53, type-ccx43, type-ccx33] steps: - name: Determine Docker tag and ref From af1b33ef2f099ae07c945e67c40c89522146d226 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 28 Aug 2025 21:39:24 +0000 Subject: [PATCH 2/2] auto-update benchmark weights --- pallets/subtensor/src/macros/dispatches.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pallets/subtensor/src/macros/dispatches.rs b/pallets/subtensor/src/macros/dispatches.rs index aed0c150de..46b4aaf92b 100644 --- a/pallets/subtensor/src/macros/dispatches.rs +++ b/pallets/subtensor/src/macros/dispatches.rs @@ -120,9 +120,9 @@ mod dispatches { /// - On failure for each failed item in the batch. /// #[pallet::call_index(80)] - #[pallet::weight((Weight::from_parts(95_160_000, 0) - .saturating_add(T::DbWeight::get().reads(14)) - .saturating_add(T::DbWeight::get().writes(2)), DispatchClass::Normal, Pays::No))] + #[pallet::weight((Weight::from_parts(19_330_000, 0) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(0_u64)), DispatchClass::Normal, Pays::No))] pub fn batch_set_weights( origin: OriginFor, netuids: Vec>,