Skip to content

Commit

Permalink
chore - fix take message
Browse files Browse the repository at this point in the history
  • Loading branch information
ibraheem-opentensor committed May 24, 2024
1 parent ce4563c commit e80f9dc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions bittensor/commands/delegates.py
Original file line number Diff line number Diff line change
Expand Up @@ -1172,9 +1172,7 @@ def _run(cli: "bittensor.cli", subtensor: "bittensor.subtensor"):
new_take = float(new_take_str)

if new_take > 0.18:
bittensor.__console__.print(
"ERROR: Take value should be in the range of 0 to 18%"
)
bittensor.__console__.print("ERROR: Take value should be below 18%")
return

result: bool = subtensor.set_take(
Expand Down
1 change: 0 additions & 1 deletion bittensor/extrinsics/set_weights.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ def set_weights_extrinsic(
return False, error_message

except Exception as e:
# TODO( devs ): lets remove all of the bittensor.__console__ calls and replace with loguru.
bittensor.__console__.print(
":cross_mark: [red]Failed[/red]: error:{}".format(e)
)
Expand Down
1 change: 1 addition & 0 deletions contrib/RELEASE_GUIDELINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ If you are new in this role, ask for the proper setup you need to run this proce
## Process of release

1. Create a branch called `release/VERSION`, having VERSION with the version to release.
1. Make sure twine is installed: `pip install twine`
1. Within the release branch:
1. Update the version executing:`./scripts/release/versioning.sh --update UPDATE_TYPE`
1. **UPDATE_TYPE** could be *major*, *minor* or *patch*.
Expand Down

0 comments on commit e80f9dc

Please sign in to comment.