Skip to content

Commit 1e5e6cb

Browse files
authored
Merge pull request #2835 from opentensor/feat/roman/bittensor-drand
Add bittensor-drand==0.5.0
2 parents c691fa0 + f4f9181 commit 1e5e6cb

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

bittensor/core/async_subtensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import numpy as np
1010
import scalecodec
1111
from async_substrate_interface import AsyncSubstrateInterface
12-
from bittensor_commit_reveal import get_encrypted_commitment
12+
from bittensor_drand import get_encrypted_commitment
1313
from bittensor_wallet.utils import SS58_FORMAT
1414
from numpy.typing import NDArray
1515
from scalecodec import GenericCall

bittensor/core/extrinsics/asyncex/commit_reveal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from typing import Optional, Union, TYPE_CHECKING
44

55
import numpy as np
6-
from bittensor_commit_reveal import get_encrypted_commit
6+
from bittensor_drand import get_encrypted_commit
77
from numpy.typing import NDArray
88

99
from bittensor.core.settings import version_as_int

bittensor/core/extrinsics/commit_reveal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from typing import Union, TYPE_CHECKING, Optional
44

5-
from bittensor_commit_reveal import get_encrypted_commit
5+
from bittensor_drand import get_encrypted_commit
66
import numpy as np
77
from numpy.typing import NDArray
88

bittensor/core/subtensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from async_substrate_interface.errors import SubstrateRequestException
99
from async_substrate_interface.sync_substrate import SubstrateInterface
1010
from async_substrate_interface.types import ScaleObj
11-
from bittensor_commit_reveal import get_encrypted_commitment
11+
from bittensor_drand import get_encrypted_commitment
1212
from numpy.typing import NDArray
1313

1414
from bittensor.core.async_subtensor import ProposalVoteData

bittensor/core/timelock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class Person:
5757
import time
5858
from typing import Optional, Union
5959

60-
from bittensor_commit_reveal import (
60+
from bittensor_drand import (
6161
encrypt as _btr_encrypt,
6262
decrypt as _btr_decrypt,
6363
get_latest_round,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies = [
3434
"pydantic>=2.3, <3",
3535
"scalecodec==1.2.11",
3636
"uvicorn",
37-
"bittensor-commit-reveal>=0.4.0",
37+
"bittensor-drand>=0.5.0",
3838
"bittensor-wallet>=3.0.8",
3939
"async-substrate-interface>=1.1.0"
4040
]

0 commit comments

Comments
 (0)