Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testnet deploy 2/3/2025 #1231

Merged
merged 143 commits into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
bc8c514
add subnet precompile contract
open-junius Dec 10, 2024
157032b
remove commented code
open-junius Dec 10, 2024
5435ccd
refactor code
open-junius Dec 10, 2024
7169908
fix clippy
open-junius Dec 11, 2024
7155329
merge with target branch
open-junius Dec 11, 2024
cdda2f6
fix compile error
open-junius Dec 11, 2024
e565825
add memory storage
open-junius Dec 16, 2024
6a0f6f9
add subnets precompile
open-junius Dec 20, 2024
2141e00
Merge branch 'devnet-ready' into feat/subnet-precompile
open-junius Dec 20, 2024
2284e31
merge with subnet precompile
open-junius Dec 20, 2024
8a6fb1a
start the neuron precompile
open-junius Jan 13, 2025
2e0d029
decode parameters ok
open-junius Jan 14, 2025
c6921c0
set weights is ok
open-junius Jan 14, 2025
e80faab
test is ok
open-junius Jan 16, 2025
23b83b2
Merge branch 'devnet-ready' into neuron-weights-set
open-junius Jan 16, 2025
be5bc35
merge with target branch
open-junius Jan 16, 2025
1643238
fix compilation
open-junius Jan 16, 2025
5040e52
update sol
open-junius Jan 16, 2025
1341e7a
rename contract
open-junius Jan 17, 2025
9637986
Fix try-runtime accounting invariants check
ales-otf Jan 17, 2025
9df0d13
Reformat
ales-otf Jan 17, 2025
92a476e
Change subnet initial supply fallback value
ales-otf Jan 17, 2025
23f9b87
fix e2e test
open-junius Jan 20, 2025
f3c6059
Merge branch 'devnet-ready' into neuron-precompile
open-junius Jan 20, 2025
9de1927
commit Cargo.lock
open-junius Jan 20, 2025
3d05f7b
cargo clippy
open-junius Jan 20, 2025
1a34d33
refactor helper
open-junius Jan 23, 2025
541518e
fix compilation error
open-junius Jan 23, 2025
d148c2b
refactor get pubkey method
open-junius Jan 23, 2025
96a1d08
cargo clippy
open-junius Jan 23, 2025
241d620
cargo fmt
open-junius Jan 23, 2025
a0819b4
remove byte_to_account_id
open-junius Jan 23, 2025
05b5c6b
Disable TotalStake check in try-runtime
ales-otf Jan 23, 2025
d790e74
Merge branch 'devnet-ready' into fix/total-stake-migration
ales-otf Jan 23, 2025
4163b91
Reformat
ales-otf Jan 23, 2025
4a73af6
merge with devnet ready
open-junius Jan 24, 2025
ac79fd6
Merge branch 'devnet-ready' into neuron-weights-set
open-junius Jan 24, 2025
c89ba37
update address
open-junius Jan 24, 2025
672a379
add_stake_limit in progress
gztensor Jan 24, 2025
eddc63f
Merge branch 'devnet-ready' into feat/limit-staking
gztensor Jan 24, 2025
e955fcc
Implemented add_stake_limit
gztensor Jan 24, 2025
02dcd95
Merge branch 'devnet-ready' into feat/limit-staking
gztensor Jan 27, 2025
95d2d53
Invalidate staking and unstaking transactions if liquidity is inadequate
gztensor Jan 27, 2025
bbc542d
Fix swap_alpha_for_tao
gztensor Jan 27, 2025
680b5bc
Set DefaultMinimumPoolLiquidity
gztensor Jan 27, 2025
682ac1a
Merge branch 'devnet-ready' into neuron-precompile
open-junius Jan 28, 2025
4939f5d
Merge branch 'devnet-ready' into neuron-weights-set
open-junius Jan 28, 2025
e616286
Merge branch 'devnet-ready' into fix/pool-safety-brackets
gztensor Jan 28, 2025
0401f08
Fix test_do_move_max_values
gztensor Jan 28, 2025
dd25142
Add tests
gztensor Jan 28, 2025
ac1e3cb
Merge branch 'devnet-ready' into feat/limit-staking
gztensor Jan 28, 2025
693221c
Fix unsafe math
gztensor Jan 28, 2025
624dd07
Update pallets/subtensor/src/staking/stake_utils.rs
gztensor Jan 28, 2025
7fc9b41
Update pallets/subtensor/src/staking/stake_utils.rs
gztensor Jan 28, 2025
f4c2ac5
Merge pull request #1204 from opentensor/fix/pool-safety-brackets
sam0x17 Jan 28, 2025
7eaacf9
make min burn only callable by root
camfairchild Jan 28, 2025
4cf3a68
add tests for reg disable -> tao-in == 0
camfairchild Jan 28, 2025
17308f5
disable TAO into subnet if reg are disabled
camfairchild Jan 28, 2025
e0e2b84
add stake info by hk, ck, netuid
camfairchild Jan 28, 2025
067ddd3
Revert "add stake info by hk, ck, netuid"
camfairchild Jan 28, 2025
19d35a6
Add stakeinfo by hk, ck, netuid
camfairchild Jan 28, 2025
b1e7fab
Merge pull request #1207 from opentensor/feat/rao-reg-enabled-changes
sam0x17 Jan 28, 2025
fce0835
typo
camfairchild Jan 28, 2025
5a1f1f2
Replace frontier's RuntimeHelper with manual dispatcher
ales-otf Jan 28, 2025
2bf5854
add subnet volume to runtimeAPIs
camfairchild Jan 28, 2025
ed6ba75
Merge pull request #1208 from opentensor/fix/evm-gas-estimation
sam0x17 Jan 28, 2025
d66f77f
Move checked_sqrt to save math and add tests
gztensor Jan 28, 2025
fd77135
Change type for pool k to I110F18
gztensor Jan 28, 2025
af3fcf7
Raise minimum pool liquidity to 1 TAO
gztensor Jan 28, 2025
7ca0a02
Merge pull request #1211 from opentensor/fix/k-precision
sam0x17 Jan 28, 2025
c67da21
Merge devnet-ready
gztensor Jan 28, 2025
baf4a95
Format
gztensor Jan 28, 2025
bffbcd7
Implement remove_stake_limit
gztensor Jan 28, 2025
0a99ee9
Fix clippy
gztensor Jan 28, 2025
1bc4d6e
Fix tests
gztensor Jan 29, 2025
84a27b4
Merge pull request #1190 from opentensor/feat/limit-staking
sam0x17 Jan 29, 2025
06ba8e5
Add an option to run try-runtime script with a snapshot
ales-otf Jan 29, 2025
a3efa41
Merge branch 'devnet-ready' into fix/total-stake-migration
ales-otf Jan 29, 2025
3678d4c
Update spec version
ales-otf Jan 29, 2025
79ed9e3
Add allow_partial parameter for add_stake_limit and remove_stake_limit
gztensor Jan 29, 2025
55203de
Bump spec version to 225
gztensor Jan 29, 2025
0a2635f
Update pallets/subtensor/src/tests/staking.rs
sam0x17 Jan 29, 2025
c3822c7
Update pallets/subtensor/src/staking/remove_stake.rs
sam0x17 Jan 29, 2025
f1886e2
Merge pull request #1213 from opentensor/feat/fill-or-kill-staking-or…
sam0x17 Jan 29, 2025
ae60405
merge with target branch
open-junius Jan 30, 2025
f644f26
refactor code
open-junius Jan 30, 2025
40bc8d9
fix cargo audit working in CI :tada:
sam0x17 Jan 30, 2025
df596e6
bump CI
sam0x17 Jan 30, 2025
6f825cc
upgrade futures-util
sam0x17 Jan 30, 2025
e876609
ignore some unmaintained advisories
sam0x17 Jan 30, 2025
1690ce2
add another unmaintained
sam0x17 Jan 30, 2025
4e7cd7f
cargo update url
sam0x17 Jan 30, 2025
c6d0b44
fix more advisories
sam0x17 Jan 30, 2025
4166c5e
fix more advisories
sam0x17 Jan 30, 2025
f25cabc
add len check
open-junius Jan 30, 2025
222da82
add len check
open-junius Jan 30, 2025
f8d5d4d
Fix rao migration did not update TotalIssuance
ales-otf Jan 30, 2025
a7fffd8
Refactor TryState
ales-otf Jan 30, 2025
d39a6ea
Reformat
ales-otf Jan 30, 2025
998867e
fix wrong origin
open-junius Jan 30, 2025
cdfffaf
fix clippy
open-junius Jan 30, 2025
051b531
Merge pull request #1110 from opentensor/neuron-precompile
sam0x17 Jan 30, 2025
f7f1b66
Merge pull request #1214 from opentensor/sam-fix-cargo-audit-again
sam0x17 Jan 30, 2025
fbc3a3e
Implement slippage safe move_stake_limit
gztensor Jan 30, 2025
86fdc36
Merge pull request #1166 from opentensor/fix/total-stake-migration
sam0x17 Jan 30, 2025
abec477
Validate slippage-safe staking extrinsics
gztensor Jan 30, 2025
2395e74
Merge branch 'devnet-ready' into fix/validate_limit_txs
gztensor Jan 30, 2025
a6e7b49
Merge pull request #1215 from opentensor/fix/validate_limit_txs
sam0x17 Jan 30, 2025
5bc7f9c
fix some CI actions not triggering on newly opened pull request
sam0x17 Jan 30, 2025
5b112f9
Merge pull request #1212 from opentensor/fix/set-minimum-liquidity-1-tao
sam0x17 Jan 30, 2025
628e38a
Merge pull request #1209 from opentensor/feat/stake-info-hk-ck-netuid
sam0x17 Jan 30, 2025
28321a1
Merge pull request #1210 from opentensor/feat/add-subnet-volume-to-ru…
sam0x17 Jan 30, 2025
ccf6b68
Merge pull request #1216 from opentensor/sam-fix-ci-triggers
sam0x17 Jan 30, 2025
645689d
Double-size SubnetVolume to u128
gztensor Jan 30, 2025
97be330
Merge pull request #1218 from opentensor/fix/double-subnet-volume-size
sam0x17 Jan 30, 2025
2e7c08b
Add swap_stake_limit
gztensor Jan 30, 2025
4fd3e85
Merge branch 'devnet-ready' into feat/slippage-safe-stake-moving
gztensor Jan 30, 2025
49f4e0a
Add tests, fix corner case bugs
gztensor Jan 30, 2025
3dd8519
fix all conflict
open-junius Jan 31, 2025
6f607e1
commit Cargo.lock
open-junius Jan 31, 2025
bb2a759
add comments
open-junius Jan 31, 2025
b2d57a7
fix wrong origin
open-junius Jan 31, 2025
4acb0ce
fix clippy
open-junius Jan 31, 2025
8cd99e7
Remove pallet-dynamic-fee and associated inherent data
ales-otf Jan 31, 2025
dd50902
Add tests, fix bugs
gztensor Jan 31, 2025
c4b1bf5
Cleanup
gztensor Jan 31, 2025
e6ebe8f
Add subnet volume migration to fix try-runtime
gztensor Jan 31, 2025
ca17411
Revert endpoint change in try-runtime script
gztensor Jan 31, 2025
fa5a388
Use resulting average price formula for add-remove limit stake
gztensor Feb 1, 2025
5d05ac8
commit Cargo.lock
open-junius Feb 3, 2025
224601c
cargo clippy
open-junius Feb 3, 2025
e3be327
cargo fix
open-junius Feb 3, 2025
375ad5c
safe math usage
open-junius Feb 3, 2025
4cfc725
upgrade openssl
open-junius Feb 3, 2025
d75930f
Merge pull request #1222 from opentensor/fix/migration-subnet-volume
sam0x17 Feb 3, 2025
9958450
Merge pull request #1219 from opentensor/feat/slippage-safe-stake-moving
sam0x17 Feb 3, 2025
053fa0f
Merge branch 'devnet-ready' into neuron-weights-set
open-junius Feb 3, 2025
7df774b
Merge branch 'devnet-ready' into fix/remove-dynamic-fee
ales-otf Feb 3, 2025
d118c09
apply criticial openssl update to fix RUSTSEC-2025-0004 (openssl)
sam0x17 Feb 3, 2025
3f63cba
Merge pull request #1150 from opentensor/neuron-weights-set
sam0x17 Feb 3, 2025
5ec05d6
Merge pull request #1226 from opentensor/sam-update-openssl
sam0x17 Feb 3, 2025
f0ceef7
Merge pull request #1220 from opentensor/fix/remove-dynamic-fee
sam0x17 Feb 3, 2025
7769812
Merge pull request #1225 from opentensor/devnet-ready
sam0x17 Feb 3, 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
14 changes: 12 additions & 2 deletions .github/workflows/cargo-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- labeled
- unlabeled
- synchronize
- opened
concurrency:
group: cargo-audit-${{ github.ref }}
cancel-in-progress: true
Expand All @@ -24,10 +25,19 @@ jobs:
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler

- name: Install cargo-audit
run: cargo install --version 0.20.1 --force cargo-audit
run: cargo install --force cargo-audit

- name: Display cargo-audit --version
run: cargo audit --version

- name: cargo audit
run: cargo audit --ignore RUSTSEC-2024-0336 # rustls issue; wait for upstream to resolve this
run: |
cargo audit --ignore RUSTSEC-2024-0336 \
--ignore RUSTSEC-2021-0127 \
--ignore RUSTSEC-2024-0370 \
--ignore RUSTSEC-2022-0080 \
--ignore RUSTSEC-2022-0061 \
--ignore RUSTSEC-2020-0168 \
--ignore RUSTSEC-2024-0384 \
--ignore RUSTSEC-2024-0388 \
--ignore RUSTSEC-2024-0421
2 changes: 1 addition & 1 deletion .github/workflows/check-devnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Devnet Deploy Check
on:
pull_request:
branches: [devnet, devnet-ready]
types: [labeled, unlabeled, synchronize]
types: [labeled, unlabeled, synchronize, opened]

env:
CARGO_TERM_COLOR: always
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-finney.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Finney Deploy Check
on:
pull_request:
branches: [finney, main]
types: [labeled, unlabeled, synchronize]
types: [labeled, unlabeled, synchronize, opened]

env:
CARGO_TERM_COLOR: always
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Testnet Deploy Check
on:
pull_request:
branches: [testnet, testnet-ready]
types: [labeled, unlabeled, synchronize]
types: [labeled, unlabeled, synchronize, opened]

env:
CARGO_TERM_COLOR: always
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/label-triggers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
pull_request:
types:
- labeled
- unlabeled
- synchronize
- opened

permissions:
issues: write
Expand Down
Loading
Loading