Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
207 commits
Select commit Hold shift + click to select a range
86b4b19
Migrate NetworkLastRegistered storage
shamil-gadelshin Jun 4, 2025
9fb0b94
Migrate LastTxBlock
shamil-gadelshin Jun 4, 2025
8a345d2
Add TxLastBlock migration test
shamil-gadelshin Jun 5, 2025
6cac416
Migrate LastTxBlockChildKeyTake
shamil-gadelshin Jun 5, 2025
94fca57
MIgrate LastTxBlockDelegateTake
shamil-gadelshin Jun 5, 2025
f6a2f39
Merge branch 'devnet-ready' into migrate-rate-limits-v2
shamil-gadelshin Jun 5, 2025
31a9001
Fix merge conflicts
shamil-gadelshin Jun 5, 2025
9e22239
make reg_network pays::yes
camfairchild Aug 13, 2025
11aba9c
add validation for last lock to reg_network
camfairchild Aug 13, 2025
f90fc58
fix references
camfairchild Aug 13, 2025
552e135
fix test
camfairchild Aug 13, 2025
bc4e3f1
auto-update benchmark weights
github-actions[bot] Aug 13, 2025
643b7e6
Merge branch 'devnet-ready' into feat/validate-reg-network
camfairchild Aug 13, 2025
90662c4
auto-update benchmark weights
github-actions[bot] Aug 13, 2025
099a28b
Merge branch 'devnet-ready' into feat/validate-reg-network
camfairchild Aug 14, 2025
66f08de
auto-update benchmark weights
github-actions[bot] Aug 14, 2025
90fb165
remove test again
camfairchild Aug 14, 2025
c95fd8e
cargo lock
camfairchild Aug 14, 2025
0aa0cb0
Ignore zero alpha stake in `clear_small_nomination_if_required`
antlerminator Aug 14, 2025
d84da7b
use existing helpers and fix >
camfairchild Aug 19, 2025
6b2628c
bump spec
camfairchild Aug 19, 2025
1078243
Refactor transaction extension
shamil-gadelshin Aug 19, 2025
5be820e
auto-update benchmark weights
github-actions[bot] Aug 19, 2025
edb6f19
Merge branch 'devnet-ready' into refactor-extension2
shamil-gadelshin Aug 22, 2025
bf552a3
auto-update benchmark weights
github-actions[bot] Aug 22, 2025
b216c12
rename coinbase() to increase_issuance() to better reflect what the f…
Aug 26, 2025
a49de77
run_coinbase(): fix comments
Aug 26, 2025
03dbf4f
run_coinbase(): move fetching constants out of for loop
Aug 26, 2025
24a1334
run_coinbase(): make total_moving_prices immutable
Aug 26, 2025
b5b6278
add commitments data into metagraph
open-junius Aug 27, 2025
7e37031
commit Cargo.lock
open-junius Aug 27, 2025
f880776
cargo clippy
open-junius Aug 27, 2025
31d9118
bump runtime
open-junius Aug 27, 2025
a4ed483
convert unused code change
open-junius Aug 27, 2025
a04425f
auto-update benchmark weights
github-actions[bot] Aug 27, 2025
3f1497e
reveal_timelocked_commitments returns weight
JohnReedV Aug 27, 2025
a271c90
auto-update benchmark weights
github-actions[bot] Aug 27, 2025
9ca9888
Merge pull request #1951 from antlerminator/no-zero-small-nomination-…
open-junius Aug 28, 2025
2c6e9cc
bump spec version to 307 to make CI happy
Aug 28, 2025
1f7ee1d
fix benchmark batch-set-weights
JohnReedV Aug 28, 2025
bc0f55d
Merge pull request #1959 from opentensor/refactor-extension2
sam0x17 Aug 28, 2025
dbae3f6
bump spec
JohnReedV Aug 28, 2025
b2a995b
Merge pull request #1980 from coldint/feat/mvds00-run-coinbase-refact…
sam0x17 Aug 28, 2025
630f7df
not support commit reveal v3
open-junius Aug 28, 2025
5e2094a
bump version
open-junius Aug 28, 2025
e570914
remove correct function
open-junius Aug 28, 2025
aeb5852
auto-update benchmark weights
github-actions[bot] Aug 28, 2025
a9aa32a
upgrade instance type for docker builds
prop-opentensor Aug 28, 2025
af1b33e
auto-update benchmark weights
github-actions[bot] Aug 28, 2025
baaa25d
chore: fix minor in log::debug
mateusfigmelo Aug 29, 2025
033e702
allow to set min burn and max burn
Aug 29, 2025
53a2d10
ckburn added
Aug 29, 2025
30edd4a
Merge pull request #1992 from opentensor/fix/docker-runner-instance
sam0x17 Aug 29, 2025
b42a765
burn take subtracts fro alpha out
Aug 29, 2025
7e06314
commit Cargo.lock
Aug 29, 2025
cdc7a22
commit Cargo.lock
Aug 29, 2025
167b1cc
commit Cargo.lock
Aug 29, 2025
505b358
cargo fmt
Aug 29, 2025
b86b779
Merge pull request #1994 from mateusfigmelo/chore/minor_log
sam0x17 Aug 29, 2025
f32849f
chore: remove unused codec in dependency list
mateusfigmelo Aug 29, 2025
75892d3
chore: remove frame-support & serde in deps
mateusfigmelo Aug 29, 2025
5255388
chore: remove unused deps in pallets_subtensor_rpc
mateusfigmelo Aug 29, 2025
bc7469b
Merge pull request #1990 from opentensor/fix/benchmark-batch-set-weights
sam0x17 Aug 29, 2025
6912434
Merge branch 'devnet-ready' into reveal-tl-commitments-weights
JohnReedV Aug 29, 2025
7b9bb25
chore: remove unused deps in pallets_subtensor
mateusfigmelo Aug 29, 2025
eef8a4d
Merge pull request #2000 from mateusfigmelo/chore/pallets_subtensor_r…
sam0x17 Aug 29, 2025
0e09b20
Merge pull request #2001 from mateusfigmelo/chore/pallets_subtensor_r…
sam0x17 Aug 29, 2025
8b1047c
Merge pull request #1997 from mateusfigmelo/chore/precompiles_unused_…
sam0x17 Aug 29, 2025
121964f
Merge pull request #1999 from mateusfigmelo/chore/pallets_subtensor_r…
sam0x17 Aug 29, 2025
d57ebd4
Remove deprecated code.
shamil-gadelshin Aug 21, 2025
53f574f
Remove tests, benchmarks and alter transaction extension.
shamil-gadelshin Aug 21, 2025
59f6771
fix conflict
open-junius Sep 2, 2025
ed61114
Merge branch 'devnet-ready' into migrate-rate-limits-v2
shamil-gadelshin Sep 2, 2025
fee2459
bump version
open-junius Sep 2, 2025
e5ac001
rebase PR
open-junius Sep 2, 2025
5d8926f
bump version
open-junius Sep 2, 2025
924b1f9
auto-update benchmark weights
github-actions[bot] Sep 2, 2025
032cd5e
Merge pull request #1965 from opentensor/remove-deprecated-extrinsics2
sam0x17 Sep 2, 2025
0d34e1b
auto stake feature
Sep 2, 2025
d3e26da
added tests
l0r1s Sep 2, 2025
5d27fc6
Update dispatch class and “pays::yes” for extrinsics.
shamil-gadelshin Aug 25, 2025
251ad70
auto-update benchmark weights
github-actions[bot] Sep 2, 2025
7ea38c7
extract min/max burn bounds as config params
l0r1s Sep 2, 2025
e7def5d
Merge branch 'devnet-ready' into reveal-tl-commitments-weights
JohnReedV Sep 2, 2025
4763b86
Fix wrong way ensure for min value
gztensor Sep 2, 2025
c60f7d8
auto-update benchmark weights
github-actions[bot] Sep 2, 2025
b10087d
fix conflict
open-junius Sep 2, 2025
17acaae
default ck burn
open-junius Sep 2, 2025
596bd6b
fix missing params to configs
l0r1s Sep 2, 2025
ae25b5f
bump version
open-junius Sep 2, 2025
1e0f8e5
cargo fmt
l0r1s Sep 2, 2025
f08bc1e
fix unit tests
open-junius Sep 2, 2025
2451f18
auto-update benchmark weights
github-actions[bot] Sep 2, 2025
47038b4
Merge pull request #1986 from opentensor/reveal-tl-commitments-weights
sam0x17 Sep 2, 2025
9e1caa5
fix failing benchmark
l0r1s Sep 2, 2025
96c70a2
Fix fee bypass issue
gztensor Sep 2, 2025
c2e5300
try to fix evm e2e failure
l0r1s Sep 2, 2025
14024fd
Merge pull request #2012 from opentensor/fix/fee-bypass
sam0x17 Sep 2, 2025
5d387f5
try to fix workflow
l0r1s Sep 2, 2025
a06670c
OptionQuery & format
JohnReedV Sep 2, 2025
44fc68a
auto-update benchmark weights
github-actions[bot] Sep 2, 2025
1e80f1c
clean up the rest
JohnReedV Sep 2, 2025
326fb26
Merge branch 'devnet-ready' into min_burn_allowed
l0r1s Sep 2, 2025
05372fe
add tests
JohnReedV Sep 2, 2025
8b25c1d
remove old key
JohnReedV Sep 2, 2025
84e2821
rebase pr
open-junius Sep 2, 2025
df5e183
bump version
open-junius Sep 3, 2025
4bed0e0
become deledate deprecated
open-junius Sep 3, 2025
01efb6b
bump version
open-junius Sep 3, 2025
76ae063
auto-update benchmark weights
github-actions[bot] Sep 3, 2025
3ae481e
Merge branch 'devnet-ready' into auto_stake
JohnReedV Sep 3, 2025
addca32
add e2e case
open-junius Sep 3, 2025
3fd2f16
check burn rate scope
open-junius Sep 3, 2025
a207d0b
Merge pull request #2008 from opentensor/auto_stake
sam0x17 Sep 3, 2025
6722dca
add unit test
open-junius Sep 3, 2025
ccb23cc
remove unused variable
open-junius Sep 3, 2025
682cb0d
unnecessary code change
open-junius Sep 3, 2025
d8ea102
rebase pr
open-junius Sep 3, 2025
bb74993
Update autostake extrinsic.
shamil-gadelshin Sep 3, 2025
967bfbb
Merge pull request #2013 from opentensor/remove-become-delegate
open-junius Sep 3, 2025
4b05d0c
rebase pr
open-junius Sep 3, 2025
5ef002b
restore some ci stuff
l0r1s Sep 3, 2025
4bae03f
Merge branch 'devnet-ready' into min_burn_allowed
l0r1s Sep 3, 2025
b8d0b84
rebase pr
open-junius Sep 3, 2025
60fdadf
bump version
open-junius Sep 3, 2025
23f97e4
rebase pr
open-junius Sep 3, 2025
9e2d575
auto-update benchmark weights
github-actions[bot] Sep 3, 2025
45b7b59
Merge pull request #1995 from opentensor/min_burn_allowed
sam0x17 Sep 3, 2025
ede7a35
Merge pull request #2014 from opentensor/auto-stake-fix
JohnReedV Sep 3, 2025
8ab1673
Merge branch 'devnet-ready' into change-subnet-owner-extrinsics
shamil-gadelshin Sep 3, 2025
7b5ff1d
Merge branch 'devnet-ready' into migrate-rate-limits-v2
shamil-gadelshin Sep 3, 2025
179c918
apply benchmark patch on label
JohnReedV Sep 3, 2025
e831393
Merge pull request #1996 from opentensor/ckburn
open-junius Sep 3, 2025
915700a
auto-update benchmark weights
github-actions[bot] Sep 3, 2025
6e53d04
fix
JohnReedV Sep 3, 2025
2c22331
test patch
JohnReedV Sep 3, 2025
8dda0f5
test
JohnReedV Sep 3, 2025
34794e5
test
JohnReedV Sep 3, 2025
44470bc
test
JohnReedV Sep 3, 2025
b4bea14
test
JohnReedV Sep 4, 2025
868269e
Merge branch 'devnet-ready' into not-support-commit-reveal-v3
open-junius Sep 4, 2025
633ddea
bump version
open-junius Sep 4, 2025
87cf264
auto-update benchmark weights
github-actions[bot] Sep 4, 2025
31bc038
reset
JohnReedV Sep 4, 2025
fc5ef70
auto-update benchmark weights
github-actions[bot] Sep 4, 2025
dd28ad4
Merge pull request #1721 from opentensor/migrate-rate-limits-v2
sam0x17 Sep 4, 2025
eb140b5
apply subtoken enable to more extrinsic
open-junius Sep 4, 2025
701a5eb
commit Cargo.lock
open-junius Sep 4, 2025
a2d161d
Merge branch 'devnet-ready' into change-subnet-owner-extrinsics
shamil-gadelshin Sep 4, 2025
1001f9c
Apply transaction-pool patch.
shamil-gadelshin Aug 31, 2025
d6e40f3
Merge pull request #1976 from opentensor/change-subnet-owner-extrinsics
sam0x17 Sep 4, 2025
dfd390b
final test
JohnReedV Sep 4, 2025
58be24f
resolve conflict
open-junius Sep 4, 2025
48d88d9
add sudo_set_owner_immune_neuron_limit
JohnReedV Sep 4, 2025
9d9ef8f
auto-update benchmark weights
github-actions[bot] Sep 4, 2025
786773b
auto-update benchmark weights
github-actions[bot] Sep 4, 2025
bdde256
auto-update benchmark weights
github-actions[bot] Sep 4, 2025
a7904e0
Merge pull request #2019 from opentensor/transaction-pool-patch
sam0x17 Sep 4, 2025
ddf1770
rebase pr
open-junius Sep 5, 2025
28b2f6f
add more tests
open-junius Sep 5, 2025
5dbe102
Merge pull request #1991 from opentensor/not-support-commit-reveal-v3
open-junius Sep 5, 2025
2d6e470
blank commit
JohnReedV Sep 5, 2025
841380e
auto-update benchmark weights
github-actions[bot] Sep 5, 2025
56e9781
Merge branch 'devnet-ready' into feat/validate-reg-network
camfairchild Sep 7, 2025
9c5ca61
Merge branch 'devnet-ready' into apply-start-call-more-tx
juniuszhou Sep 8, 2025
416e504
bump version
open-junius Sep 8, 2025
2af6d40
Merge branch 'devnet-ready' into add-commitments-in-metagraph
open-junius Sep 8, 2025
018f6cd
remove liquidity is allowed
open-junius Sep 8, 2025
481852c
auto-update benchmark weights
github-actions[bot] Sep 8, 2025
69eab05
remove modality storage
open-junius Sep 8, 2025
3353634
cargo clippy
open-junius Sep 8, 2025
1ba10ce
cargo fmt
open-junius Sep 8, 2025
574cb23
add to hook
open-junius Sep 8, 2025
540d0e3
bump version
open-junius Sep 8, 2025
990ba52
remove default value
open-junius Sep 8, 2025
36f458c
commit Cargo.lock
open-junius Sep 8, 2025
3f973fc
Merge pull request #2018 from opentensor/apply-start-call-more-tx
open-junius Sep 8, 2025
d04f2e3
auto-update benchmark weights
github-actions[bot] Sep 8, 2025
44bc6a9
set default ck burn as zero
open-junius Sep 8, 2025
e8ec659
bump version
open-junius Sep 8, 2025
2fe3614
Merge pull request #2028 from opentensor/set-default-ck-burn-zero
sam0x17 Sep 8, 2025
3b809df
Merge pull request #1981 from opentensor/add-commitments-in-metagraph
sam0x17 Sep 8, 2025
d61e59d
add import
JohnReedV Sep 8, 2025
d1e1967
Merge pull request #2016 from opentensor/apply-benchmark-patch-on-label
sam0x17 Sep 8, 2025
a6c1343
auto-update benchmark weights
github-actions[bot] Sep 8, 2025
ae3ade2
Merge branch 'devnet-ready' into feat/validate-reg-network
JohnReedV Sep 8, 2025
cbf5be0
add recycle alpha helper function
open-junius Sep 9, 2025
bf96a2b
commit Cargo.lock
open-junius Sep 9, 2025
8d9ff93
bump version
open-junius Sep 9, 2025
992f851
merge devnet ready
open-junius Sep 9, 2025
afcb7ba
bump version
open-junius Sep 9, 2025
37506bd
Merge pull request #2029 from opentensor/recycle_alpha_helper
open-junius Sep 9, 2025
1cbc11d
Merge pull request #2027 from opentensor/remove-modality
sam0x17 Sep 9, 2025
adbc89a
Merge branch 'devnet-ready' into feat/validate-reg-network
camfairchild Sep 9, 2025
e9572f0
bench
camfairchild Sep 9, 2025
bc24c46
bump spec
camfairchild Sep 9, 2025
7c36b3f
Merge pull request #1944 from opentensor/feat/validate-reg-network
sam0x17 Sep 9, 2025
fe0dc07
IncentiveAlphaEmittedToMiners
JohnReedV Sep 9, 2025
4af68a5
fix compile
JohnReedV Sep 9, 2025
7e46b95
improve & clippy
JohnReedV Sep 9, 2025
7a7ab97
comment
JohnReedV Sep 9, 2025
86c1d31
Merge pull request #2033 from opentensor/incentive-alpha-emitted-to-m…
sam0x17 Sep 9, 2025
5f1f7af
conditional AutoStakeAdded
JohnReedV Sep 9, 2025
e7b4be3
Update run_coinbase.rs
JohnReedV Sep 9, 2025
2e22929
only do one read
JohnReedV Sep 9, 2025
23b32c7
bump spec
JohnReedV Sep 9, 2025
b033d0e
Merge pull request #2035 from opentensor/incentive-alpha-emitted-to-m…
sam0x17 Sep 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 110 additions & 0 deletions .github/workflows/apply-benchmark-patch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# .github/workflows/apply-benchmark-patch.yml
name: Apply-Benchmark-Patch

on:
pull_request:
types: [labeled]

permissions:
contents: write
pull-requests: write
actions: read # required to list & download artifacts across workflows

jobs:
apply:
if: ${{ github.event.label.name == 'apply-benchmark-patch' }}
runs-on: Benchmarking

steps:
- name: Check out PR branch
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0

- name: Install GitHub CLI
run: |
sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get update
sudo DEBIAN_FRONTEND=noninteractive NEEDRESTART_MODE=a apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" gh
echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token

- name: Download latest bench patch artifact from heavy workflow
uses: dawidd6/action-download-artifact@v3
with:
workflow: run-benchmarks.yml
pr: ${{ github.event.pull_request.number }}
name: bench-patch
path: .
allow_forks: true
check_artifacts: true
search_artifacts: true
workflow_conclusion: ""
if_no_artifact_found: warn

- name: Extract bench patch archive
run: |
set -euo pipefail
if [ -f "bench-patch.tgz" ]; then
tar -xzf bench-patch.tgz
elif [ -f "bench-patch/bench-patch.tgz" ]; then
tar -xzf bench-patch/bench-patch.tgz
else
echo "No bench-patch.tgz found after download."
exit 0
fi
ls -la .bench_patch || true

- name: Apply and commit patch
run: |
set -euo pipefail

if [ ! -d ".bench_patch" ]; then
echo "No .bench_patch directory found after extraction."
exit 0
fi

if [ -f ".bench_patch/summary.txt" ]; then
echo "==== summary.txt ===="
sed -n '1,200p' .bench_patch/summary.txt || true
echo "====================="
fi

if [ ! -f ".bench_patch/benchmark_patch.diff" ]; then
echo "No benchmark_patch.diff found (no auto-patch created)."
exit 0
fi

git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"

if ! git apply --index --3way .bench_patch/benchmark_patch.diff; then
echo "Patch failed to apply cleanly. Please re-run Validate-Benchmarks to regenerate."
exit 1
fi

if git diff --cached --quiet; then
echo "Patch applied but produced no changes (already up to date)."
exit 0
fi

echo "==== diff preview ===="
git diff --cached --stat
git diff --cached | head -n 120 || true
echo "======================"

branch=$(git symbolic-ref --quiet --short HEAD || true)
if [ -z "$branch" ]; then
echo "Not on a branch - cannot push" >&2
exit 1
fi

git commit -m "auto-update benchmark weights"
git push origin "HEAD:${branch}"

- name: Remove apply-benchmark-patch label
if: ${{ success() }}
run: |
gh pr edit ${{ github.event.pull_request.number }} \
--repo "${{ github.repository }}" \
--remove-label "apply-benchmark-patch" || true
2 changes: 1 addition & 1 deletion .github/workflows/docker-localnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/evm-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
uses: Swatinem/rust-cache@v2

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "22"

Expand Down
47 changes: 37 additions & 10 deletions .github/workflows/run-benchmarks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# .github/workflows/benchmarks.yml
# .github/workflows/run-benchmarks.yml
name: Validate-Benchmarks

on:
Expand All @@ -20,10 +20,8 @@ jobs:

env:
SKIP_BENCHMARKS: "0"
AUTO_COMMIT_WEIGHTS: "1"

steps:
# ──────────────────────────────────────────────────────────────────
- name: Check out PR branch
if: ${{ env.SKIP_BENCHMARKS != '1' }}
uses: actions/checkout@v4
Expand Down Expand Up @@ -124,16 +122,45 @@ jobs:
echo "SKIP_BENCHMARKS=1" >> "$GITHUB_ENV"
fi

- name: Ensure artifact folder exists
if: ${{ env.SKIP_BENCHMARKS != '1' }}
run: mkdir -p .bench_patch

- name: Run & validate benchmarks
if: ${{ env.SKIP_BENCHMARKS != '1' }}
uses: nick-fields/retry@v3
timeout-minutes: 180
run: |
chmod +x scripts/benchmark_action.sh
scripts/benchmark_action.sh

- name: List artifact contents (for debugging)
if: ${{ always() }}
run: |
echo "Workspace: $GITHUB_WORKSPACE"
if [ -d ".bench_patch" ]; then
echo "== .bench_patch =="
ls -la .bench_patch || true
else
echo ".bench_patch directory is missing"
fi

- name: Archive bench patch
if: ${{ always() }}
run: |
if [ -d ".bench_patch" ]; then
tar -czf bench-patch.tgz .bench_patch
ls -lh bench-patch.tgz
else
echo "No .bench_patch directory to archive."
fi

- name: Upload patch artifact (if prepared)
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
timeout_minutes: 180
max_attempts: 3
retry_wait_seconds: 60
command: |
chmod +x scripts/benchmark_action.sh
scripts/benchmark_action.sh
name: bench-patch
path: bench-patch.tgz
if-no-files-found: warn

# (6) — final check after run
- name: Check skip label after run
Expand Down
Loading
Loading