Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
646 commits
Select commit Hold shift + click to select a range
718e11e
add proper benchmark weights
girazoki Jun 1, 2026
abefa87
Merge branch 'devnet-ready' into eco-tests-indexers
Jun 1, 2026
c7d02ef
Merge remote-tracking branch 'origin/eco-tests-indexers' into eco-tes…
Jun 1, 2026
e9d8d1d
Merge branch 'devnet-ready' into feature/dynamic-tempo
Jun 1, 2026
f04a13d
Merge branch 'devnet-ready' into remove-create-signed-tx-deadcode
l0r1s Jun 1, 2026
c3c3828
Merge remote-tracking branch 'upstream/devnet-ready' into feat/subnet…
fine135 Jun 1, 2026
060ad39
bump spec version
fine135 Jun 1, 2026
9630202
Merge branch 'devnet-ready' into feat/balancer_swap
gztensor Jun 1, 2026
e0e799b
Bump spec version to 414
l0r1s Jun 1, 2026
501b72b
pin zstd and safe-bigmath to revisions
gztensor Jun 1, 2026
0d23bfe
Isolate pallet-multi-collective changes
l0r1s Jun 1, 2026
613c322
make execute_orders be either fallible or not
girazoki Jun 2, 2026
1837b8a
Remove from benchmark because not wired
l0r1s Jun 2, 2026
eef2f0d
Merge remote-tracking branch 'origin/devnet-ready' into girazoki-pall…
girazoki Jun 2, 2026
f2e64cf
fmt
girazoki Jun 2, 2026
128a16c
Fast fail for set_members over max members
l0r1s Jun 2, 2026
9fab749
Merge branch 'devnet-ready' into feature/dynamic-tempo
basfroman Jun 2, 2026
9643f7f
Bypass rate limit for the same netuid stake transfer
Jun 3, 2026
0476b63
minor fix
Jun 3, 2026
66ad30a
- Fixed PR comment + rust test + ts test
Jun 3, 2026
ecdd4d7
Merge remote-tracking branch 'upstream/devnet-ready' into feat/subnet…
fine135 Jun 3, 2026
b1ca9a5
bump spec version
fine135 Jun 3, 2026
3ad2f8c
- Fixed PR comment
Jun 3, 2026
58e6056
- version bump
Jun 3, 2026
4828fb5
- fixed import
Jun 3, 2026
20276fa
Merge pull request #2674 from bittensor-church/feat/subnet-precompile…
open-junius Jun 3, 2026
7b44e87
- reverted weights
Jun 3, 2026
511149e
Merge branch 'devnet-ready' into remove-create-signed-tx-deadcode
l0r1s Jun 3, 2026
1b71f44
Merge branch 'devnet-ready' into governance
l0r1s Jun 3, 2026
d9e7f14
Extract pallet-signed-voting from governance umbrella PR
l0r1s Jun 3, 2026
f522bf7
- Remove staking rate limiter + benchmarks + tests + fmt
Jun 4, 2026
cf93d82
Update pallet-subtensor weights (reference hardware)
Jun 4, 2026
204908c
migrate contract e2e
open-junius Jun 4, 2026
8959e8f
chore: auditor auto-fix
Jun 4, 2026
faaf273
update ci configure
open-junius Jun 4, 2026
5ed2219
fmt file
open-junius Jun 4, 2026
6f8e4f7
Merge pull request #2712 from opentensor/transfer-stake-within-same-n…
sam0x17 Jun 4, 2026
75a85ba
Merge pull request #2554 from girazoki/girazoki-palle-advanced-orders
sam0x17 Jun 4, 2026
f31bb73
cleanup merge
gztensor Jun 4, 2026
5c102db
Merge devnet-ready in
gztensor Jun 4, 2026
62e1210
fix format
open-junius Jun 5, 2026
2987050
Merge branch 'devnet-ready' into migrate-contract-e2e
open-junius Jun 5, 2026
5ffa344
commit Cargo.lock
open-junius Jun 5, 2026
b1718a8
remove config import
open-junius Jun 5, 2026
0399367
Adapt rate limits after disabling in-block staking rate limit
Jun 5, 2026
e517e66
Fix for arithmetic side effect
Jun 5, 2026
1bad8be
Fix PR comment - throw error instead of saturating the value
Jun 5, 2026
3c0a134
Merge pull request #2720 from opentensor/chore/adapt-rate-limits
open-junius Jun 5, 2026
ea26ee4
Merge branch 'devnet-ready' into fix/arith-side-effect
Jun 5, 2026
86ffee7
migrate whole evm substrate transfer test
open-junius Jun 5, 2026
8176368
Added test for overflow error
Jun 5, 2026
3818fef
commit Cargo.lock
gztensor Jun 5, 2026
77a30e5
commit Cargo.lock
gztensor Jun 5, 2026
b4f6c39
commit Cargo.lock
gztensor Jun 5, 2026
ff5be72
commit Cargo.lock
gztensor Jun 5, 2026
c5c4b1f
commit Cargo.lock
gztensor Jun 5, 2026
0ddc527
commit Cargo.lock
gztensor Jun 5, 2026
a607b93
Merge pull request #2722 from opentensor/fix/arith-side-effect
open-junius Jun 5, 2026
ee9fa50
cargo fmt
gztensor Jun 5, 2026
cdf5a5e
merge devnet ready
open-junius Jun 5, 2026
d4903cd
chore: auditor auto-fix
Jun 5, 2026
519d0e4
format code
open-junius Jun 5, 2026
4dbdce0
Add more tests for panic safety
gztensor Jun 5, 2026
2babae3
Merge devnet-ready
gztensor Jun 5, 2026
5caa5da
Merge devnet-ready
gztensor Jun 5, 2026
d529c39
Merge pull request #2505 from opentensor/feat/balancer_swap
sam0x17 Jun 5, 2026
af4b3eb
fix failed eco test
open-junius Jun 8, 2026
563f37c
bump version
open-junius Jun 8, 2026
b8fbd29
Merge pull request #2725 from opentensor/fix-failed-eco-test
open-junius Jun 8, 2026
2cac44f
Merge branch 'devnet-ready' into remove-create-signed-tx-deadcode
l0r1s Jun 8, 2026
29732bf
Merge branch 'devnet-ready' into feature/dynamic-tempo
Jun 8, 2026
971ca93
- Adapted test
Jun 8, 2026
42ceb94
fixes closing repeated orders and orders whose feetransfer succeeds b…
girazoki Jun 9, 2026
08920f1
mindful on comments
girazoki Jun 9, 2026
14631b9
- Fixed rpc call for activity cutoff
Jun 9, 2026
79f0ac7
add bittensor ink artifact
open-junius Jun 9, 2026
08c4d32
- fixed tests for activity_cutoff + added cutoff_factor
Jun 9, 2026
1b9e601
add ink package to the test suite
open-junius Jun 9, 2026
34564f3
move contract e2e to ts-tests
open-junius Jun 9, 2026
172d856
Merge pull request #2198 from opentensor/governance
l0r1s Jun 9, 2026
f4d7075
add stake availability runtime api for batch coldkey queries
basfroman Jun 9, 2026
0b6f25a
add stake availability runtime api tests
basfroman Jun 9, 2026
86deb6a
Merge branch 'devnet-ready' into remove-create-signed-tx-deadcode
l0r1s Jun 9, 2026
0c94c1a
fix AI review
basfroman Jun 9, 2026
c15a281
cargo fmt
basfroman Jun 9, 2026
f2f5ccf
Fix imports
l0r1s Jun 9, 2026
8b51784
Merge branch 'devnet-ready' into feat/reverse-lock-map
gztensor Jun 10, 2026
ec2400e
Merge pull request #2479 from opentensor/remove-create-signed-tx-dead…
l0r1s Jun 10, 2026
e3ac79f
merge devnet-ready
gztensor Jun 10, 2026
b485813
Merge pull request #2701 from opentensor/feat/reverse-lock-map
sam0x17 Jun 10, 2026
2c114bd
Merge branch 'main' into feat/basfroman/add-StakeInfoRuntimeApi.get_s…
basfroman Jun 10, 2026
59ed143
Merge branch 'devnet-ready' into feat/basfroman/add-StakeInfoRuntimeA…
basfroman Jun 10, 2026
b84bb88
Remove full Lock iteration from destroy_alpha_in_out_stakes, fix aggr…
gztensor Jun 10, 2026
402dc46
Move DecayingLock map when swapping coldkey
gztensor Jun 10, 2026
2ca3dce
Merge pull request #2744 from opentensor/feat/cleanup-conviction
sam0x17 Jun 10, 2026
1debb83
Merge pull request #2732 from girazoki/girazoki-fixes-pallet-limit-or…
open-junius Jun 11, 2026
bf98537
- Defer the reveal if the block has deferred because of MaxEpochsPerB…
Jun 11, 2026
43b63fa
Merge branch 'devnet-ready' into feature/dynamic-tempo
Jun 11, 2026
0c6f0df
- Disable epoch trigger for CR enabled subnets
Jun 11, 2026
f9a2079
Delete pallet-registry from runtime, unused
l0r1s Jun 11, 2026
a7e10f2
benchmark associate evm key
JohnReedV Jun 11, 2026
1777465
fmt
JohnReedV Jun 11, 2026
309e692
fix benchmark
JohnReedV Jun 11, 2026
7108a55
chore: auditor auto-fix
Jun 11, 2026
11d0c3a
fix compile
JohnReedV Jun 11, 2026
1d0642c
add to weightinfo
JohnReedV Jun 11, 2026
79ac37b
Merge pull request #2742 from opentensor/feat/basfroman/add-StakeInfo…
JohnReedV Jun 11, 2026
7e61a91
Improves efficiency of revealing TLed Commitments
JohnReedV Jun 11, 2026
eaa4f62
- Added config params for tempo and activity cutoff boundaries
Jun 11, 2026
04254b1
fix limit orders benchmark log spam
JohnReedV Jun 11, 2026
18cf6ba
discover_pallets.sh only looks at benchmarks
JohnReedV Jun 11, 2026
6fb46ec
auto-update benchmark weights
github-actions[bot] Jun 11, 2026
c5ed140
Merge pull request #2749 from opentensor/benchmark-associate-evm-key
sam0x17 Jun 11, 2026
618ee49
Merge pull request #2751 from opentensor/improve-timelocked-commitmen…
sam0x17 Jun 11, 2026
9d280a5
fix pallet_subtensor_swap weight info
JohnReedV Jun 11, 2026
da677bf
Merge pull request #2752 from opentensor/fix-pallet-subtensor-swap-we…
sam0x17 Jun 11, 2026
40957b9
Merge branch 'devnet-ready' into migrate-contract-e2e
open-junius Jun 12, 2026
c89796d
Merge branch 'devnet-ready' into feature/dynamic-tempo
Jun 12, 2026
4e08638
Fix for clippy
Jun 12, 2026
499b515
commit Cargo.lock
thewhaleking Jun 12, 2026
8bfb5e7
fix timeout in ts e2e dev test
open-junius Jun 15, 2026
a00c53c
record db cost for precompile view functions
open-junius Jun 15, 2026
b36e1be
fix ai comment
open-junius Jun 15, 2026
c4caf92
add missed import
open-junius Jun 15, 2026
dc2aaa1
cargo clippy
open-junius Jun 15, 2026
b158bdc
cargo fmt
open-junius Jun 15, 2026
8c5f395
add db cost for sim swap
open-junius Jun 15, 2026
da942cf
- Fixed eco tests
Jun 15, 2026
b42d8d2
update reads
open-junius Jun 15, 2026
d7b8ffc
auto-update benchmark weights
github-actions[bot] Jun 15, 2026
cb0f223
apply db reads to all views
open-junius Jun 15, 2026
95ea327
cargo fmt
open-junius Jun 15, 2026
b8d34b2
Added migration to release holds
l0r1s Jun 15, 2026
4e08a53
Merge branch 'devnet-ready' into remove-registry-pallet
l0r1s Jun 15, 2026
a524872
Fixed migration weights
l0r1s Jun 15, 2026
b18b8f6
Idempotency for migration
l0r1s Jun 15, 2026
e4280f0
chore: auditor auto-fix
Jun 15, 2026
ba7c245
remove the loop
open-junius Jun 15, 2026
f92d091
cargo clippy
open-junius Jun 15, 2026
08a4c93
Added pre/post upgrade checks
l0r1s Jun 15, 2026
2ff78bc
Renaming
l0r1s Jun 15, 2026
66f63b7
Merge remote-tracking branch 'origin/remove-registry-pallet' into rem…
l0r1s Jun 15, 2026
cb3b873
cargo clippy
l0r1s Jun 15, 2026
88eba62
All registry storage cleanup
l0r1s Jun 15, 2026
bbacbf5
Fix compilation error
l0r1s Jun 15, 2026
5ad30e7
Fix rust
l0r1s Jun 15, 2026
df4e33b
Fix clippy
l0r1s Jun 15, 2026
35185da
bump version
open-junius Jun 16, 2026
501290e
add first evm test file
open-junius Jun 16, 2026
32593ae
format code
open-junius Jun 16, 2026
6b4811e
update moonwall dev config
open-junius Jun 16, 2026
52d33e4
avoid test cases skipped
open-junius Jun 16, 2026
f3c45ea
update lock file
open-junius Jun 16, 2026
50482dd
Merge pull request #2624 from opentensor/eco-tests-indexers
sam0x17 Jun 16, 2026
d718195
Merge pull request #2756 from opentensor/fix-timeout-ts-e2e-dev-test
open-junius Jun 16, 2026
57dc402
Merge pull request #2747 from opentensor/remove-registry-pallet
sam0x17 Jun 16, 2026
73c2ab0
upgrade polkadot api
open-junius Jun 16, 2026
8af1c42
fix polkadot api version
open-junius Jun 16, 2026
66b4891
merge devnet-ready
open-junius Jun 16, 2026
d6a3e51
Merge branch 'devnet-ready' into feat/thewhaleking/add-min_childkey_t…
thewhaleking Jun 16, 2026
bf813e2
fix one test
open-junius Jun 17, 2026
c83904e
fix all tests
open-junius Jun 17, 2026
85b9b27
test cases passed
open-junius Jun 17, 2026
bae24af
format code
open-junius Jun 17, 2026
c40a7e5
fix eco test with two deprecated variables
open-junius Jun 17, 2026
b69575c
remove outdated contract tests
open-junius Jun 17, 2026
6f1fa45
chore: auditor auto-fix
Jun 17, 2026
9f15ea3
Merge remote-tracking branch 'origin/main' into devnet-ready
sam0x17 Jun 17, 2026
9f70e38
Merge pull request #2757 from opentensor/record-db-cost-precompile
open-junius Jun 17, 2026
51d31d6
fix unstable wasm ink test
open-junius Jun 17, 2026
4484b76
fix test in shield
open-junius Jun 17, 2026
0e51c50
Merge pull request #2762 from opentensor/fix-eco-test
open-junius Jun 17, 2026
885f994
Merge pull request #2761 from opentensor/feat/thewhaleking/add-min_ch…
JohnReedV Jun 17, 2026
6240c53
merge with devnet
open-junius Jun 18, 2026
45309dc
remove it again
open-junius Jun 18, 2026
1059a0e
update timeout value for dev
open-junius Jun 18, 2026
fd9c65a
revert to multithread
open-junius Jun 18, 2026
cfe1c51
Merge pull request #2638 from opentensor/feature/dynamic-tempo
sam0x17 Jun 18, 2026
0664b7e
bump spec_version to 420
sam0x17 Jun 18, 2026
0a490fa
- Added a possibility to configure max epochs per block.
Jun 18, 2026
06362ba
spec_version bump
Jun 18, 2026
35b3aab
- added weights
Jun 19, 2026
7a6899b
- CI fix for dev tests
Jun 19, 2026
49e6ca4
- test ipv6 resolve error for e2e tests
Jun 19, 2026
ba15c05
- diagnose the rpc connection (dev only)
Jun 19, 2026
027bec1
- diagnose the rpc connection (dev only)
Jun 19, 2026
4e40045
- diagnose the rpc connection (dev only)
Jun 19, 2026
035e33a
- revert changes back for dev ts tests
Jun 19, 2026
5cee5e5
Rework CheckColdkeySwap dispatch ext tests
l0r1s Jun 21, 2026
c28e3b2
Extracted CheckDelegateTake dispatch ext
l0r1s Jun 21, 2026
9d8ce0e
Extract CheckEvmAssociation dispatch ext
l0r1s Jun 21, 2026
6741a20
Extract CheckServingEndpoints dispatch ext
l0r1s Jun 21, 2026
149d19a
Extract CheckRateLimits dispatch ext
l0r1s Jun 21, 2026
62524bd
Extract CheckWeights dispatch ext
l0r1s Jun 21, 2026
c5ad67c
Fix mod
l0r1s Jun 21, 2026
72a2a3e
Update mocks + add missing error
l0r1s Jun 21, 2026
55ad7c4
Use dispatch extension inside the SubtensorTransactionExtension
l0r1s Jun 21, 2026
e78e6ca
Wire dispatch extensions into runtime
l0r1s Jun 21, 2026
6614adb
Simplify precompile by using dispatch extensions
l0r1s Jun 21, 2026
b8fb895
Cleanup dispatch ext + tx ext tests
l0r1s Jun 21, 2026
aa8230f
Fix clippy
l0r1s Jun 21, 2026
b7d30f4
Merge branch 'devnet-ready' into tx-ext-to-dispatch-ext
l0r1s Jun 21, 2026
b17f21a
Fix devnet-ready merge errors
l0r1s Jun 21, 2026
17ac006
Fixed dev tests
Jun 22, 2026
cfd90dd
feat(chain-extensions): add read-only WASM queries for subnet registr…
silva-fj Jun 18, 2026
f14c9e9
fix(chain-extensions): stabilize readonly dto hashes
silva-fj Jun 22, 2026
aadc739
fix(chain-extensions): use alpha balance lock DTOs
silva-fj Jun 22, 2026
169403f
Merge pull request #2776 from opentensor/ci/dev-e2e-lsof
open-junius Jun 22, 2026
ba1979d
Merge branch 'devnet-ready' into feat/configure-max-epochs-per-block
Jun 22, 2026
c5246a6
Extract check fn for CheckColdkeySwap and remove nesting
l0r1s Jun 22, 2026
66471b3
Simplify CheckRateLimits
l0r1s Jun 22, 2026
56ec308
Avoid full WeightCommits iteration in CheckWeights
l0r1s Jun 22, 2026
3c35590
Use direct DispatchExt call instead of raw error decode in tx ext
l0r1s Jun 22, 2026
050ca47
fix conflict
open-junius Jun 22, 2026
bfde0ce
Merge pull request #2770 from opentensor/feat/configure-max-epochs-pe…
sam0x17 Jun 22, 2026
c384113
Switch subnet emissions to price-based shares and root-proportion inj…
unconst Jun 22, 2026
0375655
spec bump
gztensor Jun 22, 2026
7abcfc1
Merge pull request #2713 from opentensor/governance-signed-voting
l0r1s Jun 22, 2026
9321b12
Merge pull request #2779 from opentensor/price-based-testnet
unconst Jun 22, 2026
20c9bbc
Merge remote-tracking branch 'origin/testnet' into devnet-ready
sam0x17 Jun 22, 2026
a79b2ae
Added benchmarks
l0r1s Jun 22, 2026
6f2d9a6
Fix benchmarks
l0r1s Jun 22, 2026
d0dddc5
Wire dispatch extensions to mock precompiles runtime
l0r1s Jun 22, 2026
4c3fd8c
Merge pull request #2773 from opentensor/tx-ext-to-dispatch-ext
sam0x17 Jun 23, 2026
cd763b2
Merge branch 'devnet-ready' into migrate-contract-e2e
open-junius Jun 23, 2026
831db6a
refactor code
open-junius Jun 23, 2026
13ffe76
Merge pull request #2768 from silva-fj/feat/wasm-readonly-chain-exten…
open-junius Jun 23, 2026
7946dfc
Fix contract tests balance checks
l0r1s Jun 23, 2026
1aa99f9
Merge branch 'devnet-ready' into migrate-contract-e2e
open-junius Jun 23, 2026
7e9c690
auto-update benchmark weights
github-actions[bot] Jun 23, 2026
8a65acb
remove unneeded change
open-junius Jun 23, 2026
37c7dde
Merge pull request #2783 from opentensor/tx-ext-refactor-followup
sam0x17 Jun 23, 2026
77c9ea2
Default subnet emission off on registration
unconst Jun 23, 2026
0c774f0
Merge pull request #2788 from opentensor/feat/back-propagate-new-subn…
sam0x17 Jun 23, 2026
1d4b0fe
resolve conflicts
gztensor Jun 23, 2026
3659e89
remove unused scripts for dev
open-junius Jun 24, 2026
42d2242
merge with devnet ready
open-junius Jun 24, 2026
b5c15e6
avoid use all utils dependency
open-junius Jun 24, 2026
d8fe37f
add generate type back to dev
open-junius Jun 24, 2026
7d3508c
limit-orders bugs
girazoki Jun 24, 2026
14ba48b
pallet limit orders more fixes, batch should error when leading to ze…
girazoki Jun 24, 2026
200155a
Merge remote-tracking branch 'origin/devnet-ready' into girazoki-fix-…
girazoki Jun 24, 2026
8f04b5a
we dont use balances so they are not transactional
girazoki Jun 24, 2026
50a9fae
Merge pull request #2716 from opentensor/migrate-contract-e2e
open-junius Jun 24, 2026
c6db914
Merge pull request #2791 from girazoki/girazoki-fix-pallet-limit-orde…
open-junius Jun 24, 2026
016d888
Merge pull request #2790 from opentensor/feat/back-propagate-new-subn…
sam0x17 Jun 24, 2026
5ed8211
Remove gov preparation to reintroduce later
l0r1s Jun 24, 2026
5a874ad
chore: auditor auto-fix
Jun 24, 2026
c032ae4
Merge pull request #2796 from opentensor/postpone-gov
sam0x17 Jun 24, 2026
4ff1e30
bump spec version
sam0x17 Jun 24, 2026
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
61 changes: 0 additions & 61 deletions .github/workflows/contract-tests.yml

This file was deleted.

140 changes: 140 additions & 0 deletions .github/workflows/eco-tests-indexer-notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
name: on eco-tests change notification

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- 'eco-tests/**'

permissions:
contents: read
pull-requests: write
issues: write

concurrency:
group: eco-tests-indexer-notify-${{ github.ref }}
cancel-in-progress: true

env:
ECO_TESTS_REVIEWERS: "evgeny-s"

jobs:
notify:
name: Notify indexer reviewer
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: List changed files under eco-tests/
id: changes
env:
BASE_SHA: ${{ github.event.pull_request.base.sha }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
run: |
set -euo pipefail
changed=$(git diff --name-only "$BASE_SHA" "$HEAD_SHA" -- 'eco-tests/' || true)
{
echo "files<<EOF"
echo "$changed"
echo "EOF"
} >> "$GITHUB_OUTPUT"

- name: Post or update sticky review-request comment
if: steps.changes.outputs.files != ''
uses: actions/github-script@v7
env:
CHANGED_FILES: ${{ steps.changes.outputs.files }}
REVIEWERS: ${{ env.ECO_TESTS_REVIEWERS }}
with:
script: |
const marker = '<!-- eco-tests-indexer-notify -->';

const reviewers = (process.env.REVIEWERS || '')
.split(',')
.map(s => s.trim())
.filter(Boolean);
const ccLine = reviewers.length
? reviewers.map(u => `@${u}`).join(' ')
: '_(no reviewers configured — set ECO_TESTS_REVIEWERS in the workflow)_';

const changed = (process.env.CHANGED_FILES || '').trim();
const fileList = changed
.split('\n')
.filter(Boolean)
.map(f => `- \`${f}\``)
.join('\n');

const body = [
marker,
'### eco-tests changed — indexer review required',
'',
'This PR modifies files under `eco-tests/`. and may affect downstream indexing.',
`**cc ${ccLine}** — please review manually`,
'',
'<details><summary>Changed files</summary>',
'',
fileList,
'',
'</details>',
].join('\n');

const { owner, repo } = context.repo;
const issue_number = context.issue.number;

const comments = await github.paginate(
github.rest.issues.listComments,
{ owner, repo, issue_number, per_page: 100 }
);
const existing = comments.find(c => c.body && c.body.includes(marker));

if (existing) {
if (existing.body !== body) {
await github.rest.issues.updateComment({
owner, repo, comment_id: existing.id, body,
});
}
} else {
await github.rest.issues.createComment({
owner, repo, issue_number, body,
});
}

- name: Request reviews from configured reviewers
if: steps.changes.outputs.files != ''
uses: actions/github-script@v7
env:
REVIEWERS: ${{ env.ECO_TESTS_REVIEWERS }}
with:
script: |
const reviewers = (process.env.REVIEWERS || '')
.split(',')
.map(s => s.trim())
.filter(Boolean);
if (reviewers.length === 0) {
core.info('ECO_TESTS_REVIEWERS is empty — skipping review request.');
return;
}

const { owner, repo } = context.repo;
const pull_number = context.issue.number;
const pr = await github.rest.pulls.get({ owner, repo, pull_number });

// GitHub rejects requesting a review from the PR author.
const author = pr.data.user && pr.data.user.login;
const filtered = reviewers.filter(u => u !== author);
if (filtered.length === 0) {
core.info(`All configured reviewers are the PR author (${author}) — skipping.`);
return;
}

try {
await github.rest.pulls.requestReviewers({
owner, repo, pull_number,
reviewers: filtered,
});
} catch (e) {
core.warning(`requestReviewers failed: ${e.message}`);
}
10 changes: 9 additions & 1 deletion .github/workflows/typescript-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ jobs:
binary: fast
- test: zombienet_subnets
binary: fast
- test: zombienet_evm
binary: fast

name: "typescript-e2e-${{ matrix.test }}"

Expand Down Expand Up @@ -137,7 +139,13 @@ jobs:
working-directory: ts-tests
run: pnpm install --frozen-lockfile

- name: Install lsof (dev foundation RPC port discovery)
if: matrix.test == 'dev'
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 lsof

- name: Run tests
run: |
run: |
cd ts-tests
pnpm moonwall test ${{ matrix.test }}
Loading
Loading