Skip to content

Commit dd7f18e

Browse files
committed
(fix) Remove deprecation warning from Denom class since it is still being used for Binary Options
1 parent 0652401 commit dd7f18e

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

examples/chain_client/6_MsgCreateDerivativeLimitOrder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ async def main() -> None:
2323
subaccount_id = address.get_subaccount_id(index=0)
2424

2525
# prepare trade info
26-
market_id = "0x90e662193fa29a3a7e6c07be4407c94833e762d9ee82136a2cc712d6b87d7de3"
26+
market_id = "0x141e3c92ed55107067ceb60ee412b86256cedef67b1227d6367b4cdf30c55a74"
2727
fee_recipient = "inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r"
2828

2929
# prepare tx msg

pyinjective/constant.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import os
22
from configparser import ConfigParser
3-
from warnings import warn
43

54
MAX_CLIENT_ID_LENGTH = 128
65
MAX_DATA_SIZE = 256
@@ -34,8 +33,6 @@ def __init__(
3433
min_price_tick_size: float,
3534
min_quantity_tick_size: float
3635
):
37-
"""This throws a deprecation warning on initialization."""
38-
warn(f'{self.__class__.__name__} will be deprecated.', DeprecationWarning, stacklevel=2)
3936

4037
self.description = description
4138
self.base = base

0 commit comments

Comments
 (0)