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 1/9/2025 (rao) 🎉 #1145

Merged
merged 287 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
287 commits
Select commit Hold shift + click to select a range
68f47c7
fix
Jan 7, 2025
c61186a
fix dynamic function
Jan 7, 2025
8e2019b
tao weight
Jan 7, 2025
32b64f3
add term to see divs
Jan 7, 2025
7e068e6
Merge pull request #1128 from opentensor/chore/localnet-evm-chain-id
sam0x17 Jan 7, 2025
125d8a6
make tao weight global
Jan 7, 2025
e460cbe
Add more share pool precision tests
gztensor Jan 7, 2025
d2e2b5c
Use share pool primitive in staking utils
gztensor Jan 7, 2025
f9b381c
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
gztensor Jan 7, 2025
d54e929
Cleanup stake utils
gztensor Jan 7, 2025
f96edc1
clean
Jan 7, 2025
44d8a50
half the childkey tests
Jan 7, 2025
7b40bac
Fix clippy
gztensor Jan 7, 2025
3773edb
fix 90% childkey tests
Jan 7, 2025
fe9399c
fix and remove emission tests
Jan 7, 2025
18b78fb
add test for staking pool precision
camfairchild Jan 7, 2025
a41ff21
Fix test_add_stake_dispatch_info_ok, make test_add_stake_ok_no_emissi…
gztensor Jan 7, 2025
49d1748
Fix test_dividends_with_run_to_block
gztensor Jan 7, 2025
2786f3e
Fix test_add_stake_err_signature
gztensor Jan 7, 2025
d57d2f3
Fix test_add_stake_not_registered_key_pair
gztensor Jan 7, 2025
3d3c82d
Fix test_add_stake_ok_neuron_does_not_belong_to_coldkey
gztensor Jan 7, 2025
13e24f2
weights
Jan 7, 2025
f3dae7b
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
Jan 7, 2025
a818aff
Fix test_add_stake_err_not_enough_belance and cleanup
gztensor Jan 7, 2025
3407e87
weights
Jan 7, 2025
7d160af
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
Jan 7, 2025
ed090d8
Make test_add_stake_total_balance_no_change build
gztensor Jan 7, 2025
840aa24
Make test_add_stake_total_issuance_no_change build
gztensor Jan 7, 2025
42f5967
Remove test_staking_rate_limit
gztensor Jan 7, 2025
83da243
Fix test_remove_stake_dispatch_info_ok
gztensor Jan 7, 2025
61d54cc
Fix test_remove_stake_ok_no_emission
gztensor Jan 7, 2025
3782ccf
add back crv3 reveal to coinbase
JohnReedV Jan 8, 2025
7a5bfbd
fix test_commit_weights_validate
JohnReedV Jan 8, 2025
8733f72
fix weight validate tests
JohnReedV Jan 8, 2025
52ab7df
fix test_set_stake_threshold_failed
JohnReedV Jan 8, 2025
fb350d9
fix test_senate_join_works
open-junius Jan 8, 2025
c2303b0
fix test_senate_vote_works
open-junius Jan 8, 2025
78ebc58
fix test_senate_leave_works and test_senate_leave_vote_removal
open-junius Jan 8, 2025
ca55cef
fix test_senate_not_leave_when_stake_removed and test_adjust_senate_e…
open-junius Jan 8, 2025
faf9f2d
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
Jan 8, 2025
da9e978
Fix test_remove_stake_amount_zero
gztensor Jan 8, 2025
120ba25
Fix test_remove_stake_err_signature
gztensor Jan 8, 2025
8a3c86d
Fix test_remove_stake_ok_hotkey_does_not_belong_to_coldkey
gztensor Jan 8, 2025
b8fd8e2
Fix test_remove_stake_no_enough_stake
gztensor Jan 8, 2025
f9ae31c
Fix test_remove_stake_total_balance_no_change
gztensor Jan 8, 2025
155131f
test-coldkey-delegations and add total-ck-stake helper
camfairchild Jan 8, 2025
94827f0
test_coldkey_swap_total
camfairchild Jan 8, 2025
a412c05
fix log statement
Jan 8, 2025
fc1ab54
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
Jan 8, 2025
c9f2083
test_do_swap_coldkey_success
camfairchild Jan 8, 2025
59062ab
Fix and unignore test_remove_stake_total_issuance_no_change
gztensor Jan 8, 2025
5a6eb4e
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
gztensor Jan 8, 2025
130f8d7
Fix test_bonds
keithtensor Jan 8, 2025
72b5326
Uncomment test_10_graph
keithtensor Jan 8, 2025
7e8908b
Comment out failing tests
keithtensor Jan 8, 2025
d269785
Fixes
keithtensor Jan 8, 2025
a99269b
Fix test_add_stake_to_hotkey_account_ok
gztensor Jan 8, 2025
3aaa3f6
Fix test_remove_stake_from_hotkey_account
gztensor Jan 8, 2025
b5de57e
Make initial pool TAO min(lock_cost, 100 TAO)
gztensor Jan 8, 2025
c0bba6c
Fix test_remove_stake_from_hotkey_account_registered_in_various_networks
gztensor Jan 8, 2025
0960565
Fix test_has_enough_stake_yes, remove deprecated getters for has enou…
gztensor Jan 8, 2025
8f02483
Fix test_has_enough_stake_no
gztensor Jan 8, 2025
6e748e1
Fix test_non_existent_account
gztensor Jan 8, 2025
84a43ae
Fix test_clear_small_nominations, fix test warnings
gztensor Jan 8, 2025
5f25de2
remove TotalColdkeyStake migration tests
JohnReedV Jan 8, 2025
d9a3842
Remove test_add_stake_below_minimum_threshold
gztensor Jan 8, 2025
4627dd1
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
JohnReedV Jan 8, 2025
3a0af53
Remove test_remove_stake_below_minimum_threshold
gztensor Jan 8, 2025
4ff48e1
symbols up to 444
Jan 8, 2025
c6bcf8e
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
Jan 8, 2025
d5e49e5
deprecate test_migrate_fix_pending_emissions
JohnReedV Jan 8, 2025
cab22e5
push
Jan 8, 2025
03a48f2
Fix test_get_total_delegated_stake_after_unstaking
gztensor Jan 8, 2025
200f2ba
deprecate test_migrate_total_issuance
JohnReedV Jan 8, 2025
d3fd3ba
deprecate test_total_issuance_global
JohnReedV Jan 8, 2025
3a7fe86
deprecate test_migration_fix_total_stake_maps
JohnReedV Jan 8, 2025
d5e8275
swap and burn
Jan 8, 2025
d237a56
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
JohnReedV Jan 8, 2025
f26abe6
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
gztensor Jan 8, 2025
72e368a
Fix test_get_total_delegated_stake_single_delegator
gztensor Jan 8, 2025
4efb2a9
Remove do_become_delegate and make become_delegate extrinsic a noop
gztensor Jan 8, 2025
c26aaa1
fix test_sudo_get_set_alpha
JohnReedV Jan 8, 2025
bacc933
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
JohnReedV Jan 8, 2025
ddf31e6
Fix test_rate_limits_enforced_on_increase_take
gztensor Jan 8, 2025
8ddab9b
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
gztensor Jan 8, 2025
f2a3188
fix clears_staker_nominations_below_min
JohnReedV Jan 8, 2025
d0f7eba
Fix test_share_based_staking_denominator_precision and add more test …
gztensor Jan 8, 2025
e1cc4b2
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
JohnReedV Jan 8, 2025
0038d05
fix benchmark_remove_stake
JohnReedV Jan 8, 2025
a6810d1
Remove mining_emission_drain staking tests group
ales-otf Jan 8, 2025
830b041
Merge pull request #1139 from opentensor/fix/staking-tests-3
gztensor Jan 8, 2025
449043f
tests::swap_coldkey::test_schedule_swap_coldkey_execution
camfairchild Jan 8, 2025
cf1d1c1
test_swap_idempotency
camfairchild Jan 8, 2025
bbc6945
Fix set_alpha_disabled test
ales-otf Jan 8, 2025
c9fc5e3
test_swap_stake_for_coldkey
camfairchild Jan 8, 2025
1c56723
test_swap_concurrent_modifications
camfairchild Jan 8, 2025
6f1a3bd
test_swap_staking_hotkeys_for_coldkey
camfairchild Jan 8, 2025
f1b794d
test_swap_concurrent_modifications
camfairchild Jan 8, 2025
c61ff6f
deprecate test_replace_neuron_multiple_subnets_unstake_all
JohnReedV Jan 8, 2025
73c352c
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
JohnReedV Jan 8, 2025
4c38d68
Merge pull request #1140 from opentensor/fix/set-alpha-disabled-test
JohnReedV Jan 8, 2025
d305a8c
Merge branch 'feat/rao-2025-01' into fix-epoch-tests
JohnReedV Jan 8, 2025
d97a606
Update test epoch::test_active_stake
ales-otf Jan 8, 2025
c457b69
Merge pull request #1136 from opentensor/fix-epoch-tests
JohnReedV Jan 8, 2025
180e6a9
Fix test_share_based_staking
gztensor Jan 8, 2025
bdb211e
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
gztensor Jan 8, 2025
9775c20
Fix test_add_stake_ok_no_emission
gztensor Jan 8, 2025
e93bd8f
staking::test_mining_emission_distribution_validator_valiminer_miner
orriin Jan 8, 2025
af8903d
fix staking::test_mining_emission_distribution_validator_valiminer_miner
orriin Jan 8, 2025
fb8640e
fix formatting
sam0x17 Jan 8, 2025
e79a2ef
Fix test_migrate_rao
gztensor Jan 8, 2025
fbe85e6
1 fix for sam :)
sam0x17 Jan 8, 2025
e95783a
Merge remote-tracking branch 'origin/feat/rao-2025-01' into feat/rao-…
sam0x17 Jan 8, 2025
ad3772c
cargo fmt
sam0x17 Jan 8, 2025
cb4f8b1
cargo clippy --fix --workspace --all-features
sam0x17 Jan 8, 2025
1c275ef
fix tao weight
Jan 8, 2025
b3e1a8a
fix critical clippy vulnerability using saturating add
sam0x17 Jan 8, 2025
4d10afa
fix last clippy warning :tada:
sam0x17 Jan 8, 2025
cc2f2bc
Remove migration fix_pending_emissions and test test_migrate_fix_pend…
gztensor Jan 8, 2025
48e5de4
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
gztensor Jan 8, 2025
96e106a
Fix test warnings
gztensor Jan 8, 2025
2a49bcb
Merge remote-tracking branch 'origin/feat/rao-2025-01' into feat/rao-…
sam0x17 Jan 8, 2025
0b521b3
Fix test_swap_total_hotkey_stake
gztensor Jan 8, 2025
ed1ee23
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
gztensor Jan 8, 2025
f4fe592
bump CI
sam0x17 Jan 8, 2025
41849ee
test_swap_delegated_stake_for_coldkey
camfairchild Jan 8, 2025
96d3b2b
fix clippy again
sam0x17 Jan 8, 2025
ee6ee8d
staking::test_get_total_delegated_stake_exclude_owner_stake
orriin Jan 9, 2025
03c1b2f
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
orriin Jan 9, 2025
91c81de
test_swap_total_coldkey_stake
camfairchild Jan 9, 2025
94b4161
typo
camfairchild Jan 9, 2025
862011e
fix: zepter
orriin Jan 9, 2025
6440a61
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
orriin Jan 9, 2025
2226909
test_swap_with_max_values
camfairchild Jan 9, 2025
9931f4f
Fix test_swap_stake_success
gztensor Jan 9, 2025
8c5975b
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
gztensor Jan 9, 2025
0e8c6db
typos
camfairchild Jan 9, 2025
8a7b095
test_swap_with_no_stake
camfairchild Jan 9, 2025
d424aed
test_swap_with_non_existent_new_coldkey
camfairchild Jan 9, 2025
b6abfc5
Fix epoch::test_get_set_alpha
ales-otf Jan 9, 2025
d9f90f2
staking::test_get_alpha_share_stake_multiple_delegators
orriin Jan 9, 2025
9178fa1
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
orriin Jan 9, 2025
684d292
Update epoch::test_bonds_with_liquid_alpha
ales-otf Jan 9, 2025
32b5c2b
remove test_swap_with_overflow_in_stake_addition
camfairchild Jan 9, 2025
13c6b82
Update epoch::test_outdated_weights
ales-otf Jan 9, 2025
f6e9e92
test_swap_delegates_success
camfairchild Jan 9, 2025
2882005
Update epoch::test_validator_permits
ales-otf Jan 9, 2025
0dc55c8
cargo fmt
camfairchild Jan 9, 2025
1c2b029
Update epoch::test_zero_weights
ales-otf Jan 9, 2025
9bf55d4
fix test_bonds_with_liquid_alpha
sam0x17 Jan 9, 2025
ff5da7f
Merge remote-tracking branch 'origin/feat/rao-2025-01' into feat/rao-…
sam0x17 Jan 9, 2025
c9d0b6f
remove become delegate from testing
camfairchild Jan 9, 2025
d9279fb
Update children::test_set_weights_no_parent
ales-otf Jan 9, 2025
f3ed7d9
Fix hotkey swap alpha
camfairchild Jan 9, 2025
789b3c7
Merge pull request #1142 from opentensor/fix/fix-hotkey-swap-alpha
sam0x17 Jan 9, 2025
b90cdca
cargo fmt
sam0x17 Jan 9, 2025
60578d5
fix clippy again
sam0x17 Jan 9, 2025
5398a82
fix test_swap_hotkey_with_multiple_coldkeys test_swap_staking_hotkeys…
open-junius Jan 9, 2025
d0953d8
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
Jan 9, 2025
8c27fe2
Fix test_childkey_set_weights_single_parent
keithtensor Jan 9, 2025
028244f
make run_coinbase take block emission as arg
camfairchild Jan 9, 2025
3b46cff
Use better functions
keithtensor Jan 9, 2025
122eda3
chore: fmt
camfairchild Jan 9, 2025
e1518b0
move clear pending into run_coinbase and pass pending to drain_pending
camfairchild Jan 9, 2025
da27d69
add volumne
Jan 9, 2025
97720eb
Merge branch 'devnet-ready' into feat/proxy-precompile-extension
ales-otf Jan 9, 2025
74be7a6
Specify rust toolchain version as 1.83.0
ales-otf Jan 9, 2025
c400217
Fix test_childkey_multiple_parents_emission
gztensor Jan 9, 2025
cae24f9
sam fix test_childkey_take_drain_validator_take
sam0x17 Jan 9, 2025
deffa1a
sam mostly fix test_dynamic_parent_child_relationships, pending vune'…
sam0x17 Jan 9, 2025
1e9a0e2
WIP: test_parent_child_chain_emission
camfairchild Jan 9, 2025
3387795
rename
Jan 9, 2025
8ac655f
add block when the subnet transitioned to dtao
Jan 9, 2025
71b05c1
add dynamic block
Jan 9, 2025
c542916
dynamic block
Jan 9, 2025
9eabb47
wip
camfairchild Jan 9, 2025
0d9be95
mechanism weight change
Jan 9, 2025
f778f91
small changes
Jan 9, 2025
c194de4
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
Jan 9, 2025
2dd0606
record total tao at launch
Jan 9, 2025
d30f9d1
chore: fmt
camfairchild Jan 9, 2025
5f78563
test_dynamic_parent_child_relationships wip
gztensor Jan 9, 2025
7885cd1
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
gztensor Jan 9, 2025
c5d826e
chore: clippy
camfairchild Jan 9, 2025
232dc53
allow test clippy
camfairchild Jan 9, 2025
3ace299
Merge pull request #1127 from opentensor/feat/rao-2025-01
unconst Jan 9, 2025
b71f4a3
Change rust toolchain to 1.84
ales-otf Jan 9, 2025
12a0f71
Merge pull request #1143 from opentensor/chore/specify-rust-version
sam0x17 Jan 9, 2025
84b2ba1
Merge pull request #1144 from opentensor/devnet-ready
unconst Jan 9, 2025
b852255
add logging to dividend dist
camfairchild Jan 10, 2025
703747c
add doc to get_self_contribution
camfairchild Jan 10, 2025
420d395
fix pending emission drain
camfairchild Jan 10, 2025
d666996
Merge branch 'devnet-ready' into feat/solidity-get-stake
open-junius Jan 10, 2025
2016b12
Merge branch 'devnet-ready' into fix-return_per_1000
open-junius Jan 10, 2025
3efe80b
bump CI
sam0x17 Jan 10, 2025
d1196ad
bump ci again
sam0x17 Jan 10, 2025
6a47916
sam fix test_childkey_take_drain
sam0x17 Jan 10, 2025
cba54fe
Use dynamic network in test_childkey_take_drain, remove is_within_tol…
gztensor Jan 10, 2025
8654557
Merge pull request #1015 from opentensor/fix-return_per_1000
sam0x17 Jan 10, 2025
3d0659e
fix e2e tests
sam0x17 Jan 10, 2025
cfd127f
Merge pull request #1146 from opentensor/fix/rao-fix-pending-emission
sam0x17 Jan 13, 2025
dcda87b
Merge pull request #1148 from opentensor/sam-clean-up-rao
sam0x17 Jan 13, 2025
53e49b6
Add netuid parameter to staking precompile add_stake and remove_stake…
gztensor Jan 13, 2025
e2f48b1
fix test_dynamic_parent_child_relationships
camfairchild Jan 14, 2025
191803e
chore: clippy
camfairchild Jan 14, 2025
434b634
chore: clpy
camfairchild Jan 14, 2025
3c159bf
Fix account id lookup in proxy precompile
ales-otf Jan 14, 2025
a6bd117
Merge pull request #1154 from opentensor/fix/rao-fix-test_dynamic_par…
sam0x17 Jan 14, 2025
ec229d7
Fix state mutability in staking precompile ABI
gztensor Jan 14, 2025
5a5f7e2
Update runtime/src/precompiles/solidity/staking.sol
gztensor Jan 14, 2025
fd8fd53
Update runtime/src/precompiles/solidity/staking.sol
gztensor Jan 14, 2025
0b30f3b
Update runtime/src/precompiles/staking.rs
gztensor Jan 14, 2025
5b70ab2
Merge branch 'devnet-ready' into feat/solidity-get-stake
gztensor Jan 14, 2025
75a281e
Remove type from netuid declaration
gztensor Jan 14, 2025
a379a13
Format
gztensor Jan 14, 2025
89b3137
Fix clippy for staking precompile
gztensor Jan 14, 2025
a60b1da
Bump spec version
gztensor Jan 14, 2025
bffc8b6
Merge pull request #1153 from opentensor/feat/evm-rao-staking
sam0x17 Jan 14, 2025
9d3218b
Add netuid to get_stake in staking precompile
gztensor Jan 14, 2025
c15399c
Merge branch 'devnet-ready' into feat/solidity-get-stake
gztensor Jan 14, 2025
14093cc
Add netuid to get_stake ABI
gztensor Jan 14, 2025
af7a541
Fix staking precompile ABI
gztensor Jan 14, 2025
f4ffb5c
Fix get_stake in staking precompile
gztensor Jan 14, 2025
7c67ab5
Merge pull request #955 from opentensor/feat/solidity-get-stake
sam0x17 Jan 14, 2025
15b1096
Fix merge conflicts
ales-otf Jan 14, 2025
2874d95
Lint
ales-otf Jan 14, 2025
7bbba0a
Merge pull request #1123 from opentensor/feat/proxy-precompile-extension
sam0x17 Jan 15, 2025
752abc2
Re-add move_stake extrinsic and tests
gztensor Jan 15, 2025
adb344c
Add minimum stake to add_stake
gztensor Jan 15, 2025
966a1a9
Add test for staking too litle
gztensor Jan 15, 2025
de5d1cb
Add 1000 rao min stake - tests in progress
gztensor Jan 16, 2025
e14f195
skip stake info entry if none staked
camfairchild Jan 16, 2025
77f0375
Fix remaining tests
gztensor Jan 16, 2025
c2ff799
Update pallets/subtensor/src/macros/events.rs
gztensor Jan 16, 2025
c6fa714
Merge pull request #1163 from opentensor/fix/rao-stake-info-skip-zero…
sam0x17 Jan 16, 2025
8957f3d
Fix tests after raising min stake to 2_000_000 rao
gztensor Jan 16, 2025
6214028
Merge branch 'feat/re-add-move-stake' of github.com:opentensor/subten…
gztensor Jan 16, 2025
16c176e
Fix clippy
gztensor Jan 16, 2025
acffcfa
fix
sam0x17 Jan 16, 2025
22d8091
Remove DefaultChildkeysMinStake
gztensor Jan 16, 2025
b823fe1
Merge pull request #1161 from opentensor/feat/re-add-move-stake
sam0x17 Jan 16, 2025
e688498
Merge branch 'devnet-ready' into fix/cleanup-default-childkeys-min-stake
gztensor Jan 16, 2025
5bd1e8c
Merge pull request #1164 from opentensor/fix/cleanup-default-childkey…
sam0x17 Jan 16, 2025
f5a6463
add fix_rust.sh script
sam0x17 Jan 16, 2025
8482e27
remove --allow-empty
sam0x17 Jan 16, 2025
55410a3
Merge pull request #1165 from opentensor/sam-add-fix-rust-script
sam0x17 Jan 17, 2025
1f073d3
calculate owner cut first
camfairchild Jan 18, 2025
e61fd8b
Merge pull request #1169 from opentensor/fix/take-owner-cut-before-al…
sam0x17 Jan 20, 2025
c4ea8a4
commit Cargo.lock changes
sam0x17 Jan 20, 2025
d573819
Merge pull request #1172 from opentensor/devnet-ready
unconst Jan 20, 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
1 change: 1 addition & 0 deletions .github/workflows/e2e-bittensor-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
python3 -m pip install -e .
python3 -m pip install torch
python3 -m pip install pytest
python3 -m pip install -r requirements/dev.txt
- name: Run tests
working-directory: ${{ github.workspace }}/bittensor
Expand Down
Loading
Loading