Skip to content

Commit c51dac9

Browse files
authored
Merge branch 'staging' into fix/roman/rao-endpoint-doesnt-exist-anymore
2 parents e1b5302 + ac475f0 commit c51dac9

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[![Discord Chat](https://img.shields.io/discord/308323056592486420.svg)](https://discord.gg/bittensor)
55
[![CodeQL](https://github.com/opentensor/bittensor/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/opentensor/bittensor/actions)
66
[![PyPI version](https://badge.fury.io/py/bittensor.svg)](https://badge.fury.io/py/bittensor)
7+
[![Codecov](https://codecov.io/gh/opentensor/bittensor/graph/badge.svg)](https://app.codecov.io/gh/opentensor/bittensor)
78
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
89

910
---

bittensor/core/dendrite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def log_exception(self, exception: Exception):
258258
"""
259259
error_id = str(uuid.uuid4())
260260
error_type = exception.__class__.__name__
261-
if isinstance(exception, (aiohttp.ClientConnectorError, asyncio.TimeoutError)):
261+
if isinstance(exception, (aiohttp.ClientOSError, asyncio.TimeoutError)):
262262
logging.debug(f"{error_type}#{error_id}: {exception}")
263263
else:
264264
logging.error(f"{error_type}#{error_id}: {exception}")

contrib/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Here is a high-level summary:
9393

9494
> Review the Bittensor [style guide](./STYLE.md) and [development workflow](./DEVELOPMENT_WORKFLOW.md) before contributing.
9595
96-
If you're looking to contribute to Bittensor but unsure where to start, please join our community [discord](https://discord.gg/bittensor), a developer-friendly Bittensor town square. Start with [#development](https://discord.com/channels/799672011265015819/799678806159392768) and [#bounties](https://discord.com/channels/799672011265015819/1095684873810890883) to see what issues are currently posted. For a greater understanding of Bittensor's usage and development, check the [Bittensor Documentation](https://bittensor.com/docs).
96+
If you're looking to contribute to Bittensor but unsure where to start, please join our community [discord](https://discord.gg/bittensor), a developer-friendly Bittensor town square. Start with [#development](https://discord.com/channels/799672011265015819/799678806159392768) and [#bounties](https://discord.com/channels/799672011265015819/1095684873810890883) to see what issues are currently posted. For a greater understanding of Bittensor's usage and development, check the [Bittensor Documentation](https://docs.bittensor.com).
9797

9898
#### Pull Request Philosophy
9999

tests/helpers/helpers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,15 @@ def get_mock_neuron(**kwargs) -> NeuronInfo:
105105
"""
106106

107107
mock_neuron_d = dict(
108-
# TODO fix the AxonInfo here — it doesn't work
109108
{
110109
"netuid": -1, # mock netuid
111110
"axon_info": AxonInfo(
112-
block=0,
113111
version=1,
114-
ip=0,
112+
ip="0.0.0.0",
115113
port=0,
116114
ip_type=0,
115+
hotkey=get_mock_hotkey(),
116+
coldkey=get_mock_coldkey(),
117117
protocol=0,
118118
placeholder1=0,
119119
placeholder2=0,

0 commit comments

Comments
 (0)