Skip to content

Commit 25e9dbf

Browse files
committed
(fix) Regenerated all compiled protos. Updated CreateDenom message test and examples. Updated all markets and tokens INI files
1 parent cb62eb9 commit 25e9dbf

File tree

13 files changed

+481
-1028
lines changed

13 files changed

+481
-1028
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ clean-all:
3131
$(call clean_repos)
3232

3333
clone-injective-indexer:
34-
git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.13.2 --depth 1 --single-branch
34+
git clone https://github.com/InjectiveLabs/injective-indexer.git -b v1.13.4 --depth 1 --single-branch
3535

3636
clone-all: clone-injective-indexer
3737

buf.gen.yaml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,18 @@ inputs:
1212
- module: buf.build/googleapis/googleapis
1313
- module: buf.build/cosmos/ics23
1414
- git_repo: https://github.com/InjectiveLabs/cosmos-sdk
15-
branch: v0.50.x-inj
15+
tag: v0.50.8-inj-0
1616
- git_repo: https://github.com/InjectiveLabs/ibc-go
17-
branch: v8.3.x-inj
18-
subdir: proto
17+
tag: v8.3.2-inj-0
18+
- git_repo: https://github.com/InjectiveLabs/wasmd
19+
tag: v0.51.0-inj-0
1920
# - git_repo: https://github.com/InjectiveLabs/wasmd
20-
# tag: v0.45.0-inj
21+
# branch: v0.51.x-inj
2122
# subdir: proto
22-
- git_repo: https://github.com/InjectiveLabs/wasmd
23-
branch: v0.51.x-inj
23+
- git_repo: https://github.com/InjectiveLabs/injective-core
24+
tag: v1.13.0
2425
subdir: proto
2526
# - git_repo: https://github.com/InjectiveLabs/injective-core
26-
# tag: v1.12.1
27+
# branch: master
2728
# subdir: proto
28-
- git_repo: https://github.com/InjectiveLabs/injective-core
29-
branch: dev
30-
subdir: proto
3129
- directory: proto

examples/chain_client/tokenfactory/1_CreateDenom.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ async def main() -> None:
2727
address = pub_key.to_address()
2828

2929
message = composer.msg_create_denom(
30-
sender=address.to_acc_bech32(), subdenom="inj_test", name="Injective Test Token", symbol="INJTEST"
30+
sender=address.to_acc_bech32(),
31+
subdenom="inj_test",
32+
name="Injective Test Token",
33+
symbol="INJTEST",
34+
decimals=18,
3135
)
3236

3337
# broadcast the transaction

pyinjective/composer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1896,12 +1896,14 @@ def msg_create_denom(
18961896
subdenom: str,
18971897
name: str,
18981898
symbol: str,
1899+
decimals: int,
18991900
) -> token_factory_tx_pb.MsgCreateDenom:
19001901
return token_factory_tx_pb.MsgCreateDenom(
19011902
sender=sender,
19021903
subdenom=subdenom,
19031904
name=name,
19041905
symbol=symbol,
1906+
decimals=decimals,
19051907
)
19061908

19071909
def msg_mint(

pyinjective/denoms_devnet.ini

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -991,10 +991,6 @@ decimals = 6
991991
peggy_denom = peggy0x78a0A62Fba6Fb21A83FE8a3433d44C73a4017A6f
992992
decimals = 18
993993

994-
[Ondo US Dollar Yield]
995-
peggy_denom = peggy0x96F6eF951840721AdBF46Ac996b59E0235CB985C
996-
decimals = 18
997-
998994
[Oraichain]
999995
peggy_denom = peggy0x4c11249814f11b9346808179Cf06e71ac328c1b5
1000996
decimals = 18
@@ -1364,7 +1360,7 @@ peggy_denom = inj12pwnhtv7yat2s30xuf4gdk9qm85v4j3e60dgvu
13641360
decimals = 6
13651361

13661362
[USDT]
1367-
peggy_denom = peggy0x03fA678f56e230effB1b5148e4d1fa25184b639a
1363+
peggy_denom = peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5
13681364
decimals = 6
13691365

13701366
[USDTap]
@@ -1391,6 +1387,10 @@ decimals = 6
13911387
peggy_denom = ibc/93EAE5F9D6C14BFAC8DD1AFDBE95501055A7B22C5D8FA8C986C31D6EFADCA8A9
13921388
decimals = 18
13931389

1390+
[USDYet]
1391+
peggy_denom = peggy0x96F6eF951840721AdBF46Ac996b59E0235CB985C
1392+
decimals = 18
1393+
13941394
[USDe]
13951395
peggy_denom = peggy0x4c9EDD5852cd905f086C759E8383e09bff1E68B3
13961396
decimals = 18
@@ -1408,7 +1408,7 @@ peggy_denom = ibc/C643B73073217F778DD7BDCB74C7EBCEF8E7EF81614FFA3C1C31861221AA9C
14081408
decimals = 0
14091409

14101410
[Unknown]
1411-
peggy_denom = unknown
1411+
peggy_denom = ibc/88C49ADE2E583244058E4786C9FAE1AC431D55289EE31D59DDCC45201A60B82E
14121412
decimals = 0
14131413

14141414
[VATRENI]
@@ -1503,6 +1503,10 @@ decimals = 18
15031503
peggy_denom = factory/inj18flmwwaxxqj8m8l5zl8xhjrnah98fcjp3gcy3e/xiii
15041504
decimals = 6
15051505

1506+
[XION]
1507+
peggy_denom = ibc/DAB0823884DB5785F08EE136EE9EB362E166F4C7455716641B03E93CE7F14193
1508+
decimals = 6
1509+
15061510
[XNJ]
15071511
peggy_denom = inj17pgmlk6fpfmqyffs205l98pmnmp688mt0948ar
15081512
decimals = 18

0 commit comments

Comments
 (0)