Skip to content

Conversation

sam0x17
Copy link
Contributor

@sam0x17 sam0x17 commented Feb 17, 2025

sam0x17 and others added 13 commits February 15, 2025 19:13
* fix compile

* Remove pallet-dynamic-fee and associated inherent data

* Add tests, fix bugs

* Cleanup

* Add subnet volume migration to fix try-runtime

* Revert endpoint change in try-runtime script

* Use resulting average price formula for add-remove limit stake

* commit Cargo.lock

* cargo clippy

* cargo fix

* safe math usage

* 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

---------

Co-authored-by: open-junius <zhou@opentensor.dev>
Co-authored-by: Aliaksandr Tsurko <ales@opentensor.dev>
Co-authored-by: Greg Zaitsev <gregz@opentensor.dev>
Co-authored-by: Roman <167799377+roman-opentensor@users.noreply.github.com>
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: 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>
@sam0x17 sam0x17 self-assigned this Feb 17, 2025
@sam0x17 sam0x17 requested a review from unconst as a code owner February 17, 2025 02:46
@sam0x17 sam0x17 merged commit f083c8b into testnet Feb 17, 2025
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants