Commit 85f72d9
mainnet deploy 2/16/2025 (#1310)
* upgrade openssl
* fix clippy
* address freeze_struct
* rename commit_reveal_period
* apply criticial openssl update to fix RUSTSEC-2025-0004 (openssl)
* remove subnet_info_v3
* address lint
* update register_network with identity precompile
* fix merge commit
* bump spec
* remove SubnetInfov3 struct
* rename emission_values => emission_value
* bump spec
* safe math
* remove duplicated function
* use saturating math
* add cleaned coinbase
* noclaim
* remove complexity
* non scaled tao emission
* bump
* fix test
* clean coinbase
* pre merge
* no tao in for non registration
* move to moving prices rather than tao reserves
* price
* moving alpha
* bump spec
* Fix tests
* add moving price tests
* add alpha in tests
* Fix all tests
* Format
* Fix unsafe math
* alpha tests
* set tao weight
* reset default staking fee
* fix names
* add mainnet names
* cargo clippy
* cargo fmt
* add a global min burn and migration
* add more tests for root pending etc
* alpha divs
* fix test for root
* new test root tao
* fix wrong parse function
* fix test
* add toggle off for transfers
* delete unused workflow file
* Fix validation for transfer toggle
* remove duplicate tests
* fix subnet creation logic
* cargo fmt
* add new test
* bump spec version to 228
* Add test test_drain_alpha_childkey_parentkey
* spec bump
* fix audit
* fix audit
* fix contract
* commit Cargo.lock
* cargo clippy
* cargo fmt
* fix min lock
* fmt
* fix migration test
* cargo fmt
* fix root
* cargo fmt
* add moving price to metagraph
* use correct min burn init (#1265)
* use correct min brun init
* fmt
* no into
* no into 2
* bump spec
* cargo update to fix cargo audit vulnerabilities
* bump spec version
* moving price init from emission
* cargo fmt
* bump spec version
* commit Cargo.lock
* cargo clippy
* cargo fmt
* DefaultMinimumPoolLiquidity and tempos in rao migration
* update readme of support of M series macs
* bump runtime version
* add tao_emission to stakeinfo runtime
* remove call from coinbase. already in block_step
* add negation for pow-reg-allowed
* only root can set min pow diff
* oops
* dont let ck-in-swap-sched move any stake/register
* add tests for validation filter
* add transfer stake to call nontransfer proxy filter
* also add proxy filters for new calls
* update staking priority
* bump spec
* use get_priority_staking for all stake operations
* bump spec
* clippy
* Remove ownership check from transition stake validation
* max the price for EMA calc at 1.0
* uncommitted lockfile change
* bump spec version
* fix merge conflicts
* add CI action that requires clean merges between all named branches
* fix
* fixes
* try again
* fix again
* fix
* fix
* stop needless wasting of CI hours with on push triggers we don't need
* provide an identity for github action to prevent failure
* Add serve_axon extrinsic validation
* Bump spec version
* Check IP validity in serve_axon validation first
* make set diff only root
* add test for set diff no owner
* add migration for min diff
* bump spec
* only allow top-stake SN owner hk to stay immune
* add tests
* only allow replace non-top-stake owner hk
* bump spec
* add tests using SubnetOwnerHotkey
* add impl for replace neuron
* add swap test
* add neuron prune impl
* add swap hotkey impl
* clippy
* clippy
* mistake in test
* add some tests
* add stake ext test
* add move_stake tests
* cargo lock
* bump spec
* clpy
* use bool return type
* clpy
* add higher liquidity on mvoe stake tests
---------
Co-authored-by: open-junius <zhou@opentensor.dev>
Co-authored-by: Aliaksandr Tsurko <ales@opentensor.dev>
Co-authored-by: JohnReedV <87283488+JohnReedV@users.noreply.github.com>
Co-authored-by: Cameron Fairchild <cameron@opentensor.ai>
Co-authored-by: unconst <jake@bittensor.com>
Co-authored-by: Greg Zaitsev <gregz@opentensor.dev>
Co-authored-by: Unconst <32490803+unconst@users.noreply.github.com>
Co-authored-by: camfairchild <cameron@opentensor.dev>
Co-authored-by: Prakash <qxprakash@gmail.com>
Co-authored-by: ibraheem-opentensor <ibraheem@opentensor.dev>1 parent f9254ea commit 85f72d9
File tree
4 files changed
+332
-7
lines changed- pallets/subtensor/src
- staking
- tests
- runtime/src
4 files changed
+332
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
552 | 561 | | |
553 | 562 | | |
554 | 563 | | |
| |||
877 | 886 | | |
878 | 887 | | |
879 | 888 | | |
| 889 | + | |
| 890 | + | |
880 | 891 | | |
881 | | - | |
882 | | - | |
883 | | - | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
884 | 899 | | |
| 900 | + | |
885 | 901 | | |
886 | 902 | | |
887 | 903 | | |
| |||
937 | 953 | | |
938 | 954 | | |
939 | 955 | | |
940 | | - | |
| 956 | + | |
941 | 957 | | |
942 | 958 | | |
943 | 959 | | |
| |||
975 | 991 | | |
976 | 992 | | |
977 | 993 | | |
978 | | - | |
| 994 | + | |
| 995 | + | |
979 | 996 | | |
980 | 997 | | |
981 | 998 | | |
| |||
992 | 1009 | | |
993 | 1010 | | |
994 | 1011 | | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
995 | 1024 | | |
996 | 1025 | | |
997 | 1026 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
3495 | 3495 | | |
3496 | 3496 | | |
3497 | 3497 | | |
| 3498 | + | |
| 3499 | + | |
| 3500 | + | |
| 3501 | + | |
| 3502 | + | |
| 3503 | + | |
| 3504 | + | |
| 3505 | + | |
| 3506 | + | |
| 3507 | + | |
| 3508 | + | |
| 3509 | + | |
| 3510 | + | |
| 3511 | + | |
| 3512 | + | |
| 3513 | + | |
| 3514 | + | |
| 3515 | + | |
| 3516 | + | |
| 3517 | + | |
| 3518 | + | |
| 3519 | + | |
| 3520 | + | |
| 3521 | + | |
| 3522 | + | |
| 3523 | + | |
| 3524 | + | |
| 3525 | + | |
| 3526 | + | |
| 3527 | + | |
| 3528 | + | |
| 3529 | + | |
| 3530 | + | |
| 3531 | + | |
| 3532 | + | |
| 3533 | + | |
| 3534 | + | |
| 3535 | + | |
| 3536 | + | |
| 3537 | + | |
| 3538 | + | |
| 3539 | + | |
| 3540 | + | |
| 3541 | + | |
| 3542 | + | |
| 3543 | + | |
| 3544 | + | |
| 3545 | + | |
| 3546 | + | |
| 3547 | + | |
| 3548 | + | |
| 3549 | + | |
| 3550 | + | |
| 3551 | + | |
| 3552 | + | |
| 3553 | + | |
| 3554 | + | |
| 3555 | + | |
| 3556 | + | |
| 3557 | + | |
| 3558 | + | |
| 3559 | + | |
| 3560 | + | |
| 3561 | + | |
| 3562 | + | |
| 3563 | + | |
| 3564 | + | |
| 3565 | + | |
| 3566 | + | |
| 3567 | + | |
| 3568 | + | |
| 3569 | + | |
| 3570 | + | |
| 3571 | + | |
| 3572 | + | |
| 3573 | + | |
| 3574 | + | |
| 3575 | + | |
| 3576 | + | |
| 3577 | + | |
| 3578 | + | |
| 3579 | + | |
| 3580 | + | |
| 3581 | + | |
| 3582 | + | |
| 3583 | + | |
| 3584 | + | |
| 3585 | + | |
| 3586 | + | |
| 3587 | + | |
| 3588 | + | |
| 3589 | + | |
| 3590 | + | |
| 3591 | + | |
| 3592 | + | |
| 3593 | + | |
| 3594 | + | |
| 3595 | + | |
| 3596 | + | |
| 3597 | + | |
| 3598 | + | |
| 3599 | + | |
| 3600 | + | |
| 3601 | + | |
| 3602 | + | |
| 3603 | + | |
| 3604 | + | |
| 3605 | + | |
| 3606 | + | |
| 3607 | + | |
| 3608 | + | |
| 3609 | + | |
| 3610 | + | |
| 3611 | + | |
| 3612 | + | |
| 3613 | + | |
| 3614 | + | |
| 3615 | + | |
| 3616 | + | |
| 3617 | + | |
| 3618 | + | |
| 3619 | + | |
| 3620 | + | |
| 3621 | + | |
| 3622 | + | |
| 3623 | + | |
| 3624 | + | |
| 3625 | + | |
| 3626 | + | |
| 3627 | + | |
| 3628 | + | |
| 3629 | + | |
| 3630 | + | |
| 3631 | + | |
| 3632 | + | |
| 3633 | + | |
| 3634 | + | |
| 3635 | + | |
| 3636 | + | |
| 3637 | + | |
| 3638 | + | |
| 3639 | + | |
| 3640 | + | |
| 3641 | + | |
| 3642 | + | |
| 3643 | + | |
| 3644 | + | |
| 3645 | + | |
| 3646 | + | |
| 3647 | + | |
| 3648 | + | |
| 3649 | + | |
| 3650 | + | |
| 3651 | + | |
| 3652 | + | |
| 3653 | + | |
| 3654 | + | |
| 3655 | + | |
| 3656 | + | |
| 3657 | + | |
| 3658 | + | |
| 3659 | + | |
| 3660 | + | |
| 3661 | + | |
| 3662 | + | |
| 3663 | + | |
| 3664 | + | |
| 3665 | + | |
| 3666 | + | |
| 3667 | + | |
| 3668 | + | |
| 3669 | + | |
| 3670 | + | |
| 3671 | + | |
| 3672 | + | |
| 3673 | + | |
| 3674 | + | |
| 3675 | + | |
| 3676 | + | |
| 3677 | + | |
| 3678 | + | |
| 3679 | + | |
| 3680 | + | |
| 3681 | + | |
| 3682 | + | |
| 3683 | + | |
| 3684 | + | |
| 3685 | + | |
| 3686 | + | |
| 3687 | + | |
| 3688 | + | |
| 3689 | + | |
| 3690 | + | |
| 3691 | + | |
| 3692 | + | |
| 3693 | + | |
| 3694 | + | |
| 3695 | + | |
| 3696 | + | |
| 3697 | + | |
| 3698 | + | |
| 3699 | + | |
| 3700 | + | |
| 3701 | + | |
| 3702 | + | |
| 3703 | + | |
| 3704 | + | |
| 3705 | + | |
| 3706 | + | |
| 3707 | + | |
| 3708 | + | |
| 3709 | + | |
| 3710 | + | |
| 3711 | + | |
| 3712 | + | |
| 3713 | + | |
| 3714 | + | |
| 3715 | + | |
| 3716 | + | |
| 3717 | + | |
| 3718 | + | |
| 3719 | + | |
| 3720 | + | |
| 3721 | + | |
| 3722 | + | |
| 3723 | + | |
| 3724 | + | |
| 3725 | + | |
| 3726 | + | |
| 3727 | + | |
| 3728 | + | |
| 3729 | + | |
| 3730 | + | |
| 3731 | + | |
| 3732 | + | |
| 3733 | + | |
| 3734 | + | |
| 3735 | + | |
| 3736 | + | |
| 3737 | + | |
| 3738 | + | |
| 3739 | + | |
| 3740 | + | |
| 3741 | + | |
| 3742 | + | |
| 3743 | + | |
| 3744 | + | |
| 3745 | + | |
| 3746 | + | |
| 3747 | + | |
| 3748 | + | |
| 3749 | + | |
| 3750 | + | |
| 3751 | + | |
| 3752 | + | |
| 3753 | + | |
| 3754 | + | |
| 3755 | + | |
| 3756 | + | |
| 3757 | + | |
| 3758 | + | |
| 3759 | + | |
| 3760 | + | |
| 3761 | + | |
| 3762 | + | |
| 3763 | + | |
| 3764 | + | |
| 3765 | + | |
| 3766 | + | |
| 3767 | + | |
| 3768 | + | |
| 3769 | + | |
| 3770 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
78 | 101 | | |
79 | 102 | | |
80 | 103 | | |
| |||
0 commit comments