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

Backmerge master to staging post 851 #2557

Merged
merged 3 commits into from
Dec 22, 2024

Conversation

ibraheem-opentensor
Copy link
Contributor

No description provided.

@camfairchild camfairchild merged commit 4008488 into staging Dec 22, 2024
30 of 31 checks passed
@camfairchild camfairchild deleted the backmerge/master-to-staging-851-post branch December 22, 2024 21:51
camfairchild added a commit that referenced this pull request Jan 17, 2025
* Updates tests for btwallet 3.0.0

* fix get_delegates result decoding

* Feat/use tx pool for set weights (#2534)

* use the tx pool for setting/committing weights

* add supports rpc method with cache

* handle when state call is not possible (unlikely)

* increment next index by one for correct nonce

* use for set sync set weights also

* oops, define in subtensor for sync methods

* make tests less specific

* try e2e test for commit weights

* modify comments on test

* add root set test helper

* try upping submit timeout

* add set weights e2e test

* use high timeout on tests

* add awaits and log netuid

* chore: ruff

* use sudo_set_admin_utils instead

* don't increment next index for nonce

* dont await sudo_set_admin_utils

* lower test ext timeout to 12

* enable reg during test

* use set hyp values instead

* sleep after setting reg allowed

* fix test_set_weights_uses_next_nonce

* Use asyncstdlib for lru_cache of `AsyncSubstrateInterface.supports_rpc_method`

* Increases sleep for txs in test_set_weights_uses_next_nonce

---------

Co-authored-by: Benjamin Himes <37844818+thewhaleking@users.noreply.github.com>
Co-authored-by: ibraheem-opentensor <ibraheem@opentensor.dev>
Co-authored-by: Benjamin Himes <benhimes@opentensor.dev>

* fix tests

* add connection limit error handler

* add test

* Backmerge master to staging post 851 (#2557)

Bumps version and changelog

* improve handler

* add async commit reveal impl

* add new logic to async_subtensor

* add unit tests

* ruff

* add uid check before processing

* fix test

* Use apt-get instead of apt for scripts (#2571)

apt --> apt-get

* fix _do_stake incorrect arguments error in staking.py

add_stake sdk (after pybytes error is fixed in delegate_info.py) another error occurs, because _do_stake is incorrectly called on line 124 in staking.py returning an invalid arguments error, must add self (subtensor) param to fix this error.

* Updates subtensor branch for e2e

* tests fix

* Bumps cr3 ffi

* Bumps version and changelog

* Updates changelog

---------

Co-authored-by: Roman <167799377+roman-opentensor@users.noreply.github.com>
Co-authored-by: Cameron Fairchild <cameron@opentensor.dev>
Co-authored-by: Benjamin Himes <37844818+thewhaleking@users.noreply.github.com>
Co-authored-by: Benjamin Himes <benhimes@opentensor.dev>
Co-authored-by: Roman <roman@opentensor.dev>
Co-authored-by: Assh-codes <121989988+Assh-codes@users.noreply.github.com>
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.

2 participants