Skip to content

Commit 30edd4a

Browse files
authored
Merge pull request #1992 from opentensor/fix/docker-runner-instance
Upgrade docker container build instance type
2 parents b2a995b + af1b33e commit 30edd4a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/docker-localnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ permissions:
2828

2929
jobs:
3030
publish:
31-
runs-on: [self-hosted, type-ccx33]
31+
runs-on: [self-hosted, type-ccx53, type-ccx43, type-ccx33]
3232

3333
steps:
3434
- name: Determine Docker tag and ref

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ permissions:
2727

2828
jobs:
2929
publish:
30-
runs-on: [self-hosted, type-ccx33]
30+
runs-on: [self-hosted, type-ccx53, type-ccx43, type-ccx33]
3131

3232
steps:
3333
- name: Determine Docker tag and ref

pallets/subtensor/src/macros/dispatches.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ mod dispatches {
120120
/// - On failure for each failed item in the batch.
121121
///
122122
#[pallet::call_index(80)]
123-
#[pallet::weight((Weight::from_parts(95_160_000, 0)
124-
.saturating_add(T::DbWeight::get().reads(14))
125-
.saturating_add(T::DbWeight::get().writes(2)), DispatchClass::Normal, Pays::No))]
123+
#[pallet::weight((Weight::from_parts(19_330_000, 0)
124+
.saturating_add(T::DbWeight::get().reads(1_u64))
125+
.saturating_add(T::DbWeight::get().writes(0_u64)), DispatchClass::Normal, Pays::No))]
126126
pub fn batch_set_weights(
127127
origin: OriginFor<T>,
128128
netuids: Vec<Compact<NetUid>>,

0 commit comments

Comments
 (0)