Skip to content

Finney#29

Open
unconst wants to merge 271 commits intomainfrom
finney
Open

Finney#29
unconst wants to merge 271 commits intomainfrom
finney

Conversation

@unconst
Copy link

@unconst unconst commented Jan 9, 2023

Finney release

opentaco and others added 30 commits November 30, 2022 12:11
Since sum_i b_ij = 1 the bonds in j (col) sums to 100% shared between bond owners i (row).
Deregistered neurons should have weights set on them pruned at least once if chain epoch length < validator epoch length, e.g. if chain epoch is every 100 blocks < validator epoch every 250 blocks.
If a validator sets weights only every 250 blocks, and refreshes its metagraph at the same rate, then if a neuron deregisters it'll take at least 250 blocks before its weight will be updated. The chain epoch can ignore weights set on a pruned neuron within the first 100 blocks of pruning without risk of overwriting updated weights from the validator.
However, chain epoch may need to prune weights beyond the first epoch after pruning, by utilizing BlockAtRegistration for pruned UID and last_update for each validator.
unconst and others added 30 commits January 10, 2023 13:48
finney: fix type in docs
…it-neuron-info

[BIT-620] Add validator_permit to NeuronInfo
* declare rpc as paratensorcustom instead

* add subnet info and subnets info methods

* .
* declare rpc as paratensorcustom instead

* add subnet info and subnets info methods

* .

* move deaccountid

* define delegate info

* oops add to service

* reorder

* moved def
* add toomanyuids error

* move length check higher

* check len uids is within subnet max

* use subnetworkn instead

* fix not active set weight test

* add too many uids test

* update set weights duplicate test

* enable std on pallet balances
* Move epoch math to math.rs

* Add math functions

* Add ValidatorTrust and WeightConsensus

* Add WeightCuts hyperparameter

WeightCuts sets the amount of weight cuts performed during epoch, which involves WeightCuts iterations of calculating weight consensus and cutting weights above consensus.

* Change Rho = 30 to ensure consensus guarantees

* Update Rho sudo test val

* Add weight cuts to epoch

* Update epoch tests for weight cuts

* Docstring update

* Reorder epoch tests

* Docstring update

* Docstring update

* Reduce epoch test graph defaults
* add new val hyp params

* add tests

* swap line ordering
* Directly import math functions in tests

* Add epoch 512 test variations

* Test epoch validator permits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants